head	1.15;
access;
symbols
	core-8-5-9:1.11.2.1
	core-8-5-8:1.11
	macosx-cocoa-merge:1.15
	macosx-cocoa-premerge:1.15
	macosx-carbon-freeze:1.15
	core-8-5-7:1.11
	core-8-5-6:1.11
	core-8-6-b1:1.15
	core-8-6-a3:1.13
	core-8-5-5:1.11
	core-8-6-a2:1.12
	core-8-5-4:1.11
	core-8-5-3:1.11
	core-8-6-a1:1.11
	core-8-5-branch:1.11.0.2
	core-8-5-2:1.11
	core-8-5-1:1.11
	core-8-5-0:1.10
	core-8-5-b3:1.8
	core-8-5-b2:1.6
	core-8-5-b1:1.3
	core-stablilizer-merge:1.3
	core-stabilizer-branch:1.3.0.2
	core-stabilizer-merge:1.11
	core-8-5-a6:1.3;
locks; strict;
comment	@# @;


1.15
date	2008.11.24.09.56.44;	author dkf;	state Exp;
branches;
next	1.14;

1.14
date	2008.10.27.13.38.51;	author dkf;	state Exp;
branches;
next	1.13;

1.13
date	2008.09.23.13.36.56;	author dkf;	state Exp;
branches;
next	1.12;

1.12
date	2008.06.30.22.57.03;	author dkf;	state Exp;
branches;
next	1.11;

1.11
date	2008.01.29.15.38.00;	author dkf;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	2007.12.13.15.23.44;	author dgp;	state Exp;
branches;
next	1.9;

1.9
date	2007.12.10.16.21.01;	author jenglish;	state Exp;
branches;
next	1.8;

1.8
date	2007.11.01.10.59.43;	author dkf;	state Exp;
branches;
next	1.7;

1.7
date	2007.10.29.16.04.14;	author dkf;	state Exp;
branches;
next	1.6;

1.6
date	2007.10.26.20.13.23;	author dgp;	state Exp;
branches;
next	1.5;

1.5
date	2007.10.24.14.32.59;	author dkf;	state Exp;
branches;
next	1.4;

1.4
date	2007.10.23.15.44.35;	author dkf;	state Exp;
branches;
next	1.3;

1.3
date	2006.12.13.23.04.33;	author hobbs;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2006.11.15.13.29.17;	author dkf;	state Exp;
branches;
next	1.1;

1.1
date	2006.10.31.01.42.25;	author hobbs;	state Exp;
branches;
next	;

1.3.2.1
date	2007.10.24.12.59.31;	author dgp;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2007.10.27.04.23.14;	author dgp;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2007.11.01.16.37.16;	author dgp;	state Exp;
branches;
next	1.3.2.4;

1.3.2.4
date	2007.12.10.18.39.28;	author dgp;	state Exp;
branches;
next	1.3.2.5;

1.3.2.5
date	2008.01.29.17.35.48;	author dgp;	state Exp;
branches;
next	;

1.11.2.1
date	2010.08.26.02.06.09;	author hobbs;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Minor doc fixes. [Bug 2330040]
@
text
@'\"
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
'\" Copyright (c) 1998-2000 Scriptics Corporation.
'\" Copyright (c) 2004 Joe English
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\" 
'\" SOURCE: entry.n, r1.12
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.14 2008/10/27 13:38:51 dkf Exp $
'\" 
.so man.macros
.TH ttk::entry n 8.5 Tk "Tk Themed Widget"
.BS
.SH NAME
ttk::entry \- Editable text field widget
.SH SYNOPSIS
\fBttk::entry\fR \fIpathName \fR?\fIoptions\fR?
.BE
.SH DESCRIPTION
.PP
An \fBttk::entry\fR widget displays a one-line text string and
allows that string to be edited by the user.
The value of the string may be linked to a Tcl variable 
with the \fB\-textvariable\fR option.
Entry widgets support horizontal scrolling with the 
standard \fB\-xscrollcommand\fR option and \fBxview\fR widget command.
.SO ttk_widget
\-class	\-cursor	\-style
\-takefocus	\-xscrollcommand
.SE
.SH "WIDGET-SPECIFIC OPTIONS"
.OP \-exportselection exportSelection ExportSelection
A boolean value specifying whether or not 
a selection in the widget should be linked to the X selection.
If the selection is exported, then selecting in the widget deselects
the current X selection, selecting outside the widget deselects any
widget selection, and the widget will respond to selection retrieval
requests when it has a selection.
.\" MAYBE: .OP \-font font Font
.\" MAYBE: .OP \-foreground foreground Foreground
.\" MAYBE: .OP \-insertbackground insertBackground Foreground
.\" MAYBE: .OP \-insertwidth insertWidth InsertWidth
.OP \-invalidcommand invalidCommand InvalidCommand
A script template to evaluate whenever the \fBvalidateCommand\fR returns 0.
See \fBVALIDATION\fR below for more information.
.OP \-justify justify Justify
Specifies how the text is aligned within the entry widget.
One of \fBleft\fR, \fBcenter\fR, or \fBright\fR.
.\" MAYBE: .OP \-selectbackground selectBackground Foreground
.\" MAYBE: .OP \-selectborderwidth selectBorderWidth BorderWidth
.\" MAYBE: .OP \-selectforeground selectForeground Background
.OP \-show show Show
If this option is specified, then the true contents of the entry
are not displayed in the window.
Instead, each character in the entry's value will be displayed as
the first character in the value of this option, such as
.QW *
or a bullet.
This is useful, for example, if the entry is to be used to enter
a password.
If characters in the entry are selected and copied elsewhere, the
information copied will be what is displayed, not the true contents
of the entry.
.OP \-state state State
Compatibility option; see \fIttk::widget(n)\fR for details.
Specifies one of three states for the entry,
\fBnormal\fR, \fBdisabled\fR, or \fBreadonly\fR.
See \fBWIDGET STATES\fR, below.
.OP \-textvariable textVariable Variable
Specifies the name of a variable whose value is linked 
to the entry widget's contents.
Whenever the variable changes value, the widget's contents are updated,
and vice versa.
.OP \-validate validate Validate
Specifies the mode in which validation should operate:
\fBnone\fR, \fBfocus\fR, \fBfocusin\fR, \fBfocusout\fR, \fBkey\fR, or \fBall\fR.
Default is \fBnone\fR, meaning that validation is disabled.
See \fBVALIDATION\fR below.
.OP \-validatecommand validateCommand ValidateCommand
A script template to evaluate whenever validation is triggered.
If set to the empty string (the default), validation is disabled.
The script must return a boolean value.
See \fBVALIDATION\fR below.
.OP \-width width Width
Specifies an integer value indicating the desired width of the entry window,
in average-size characters of the widget's font.
.\" Not in ttk: If the value is less than or equal to zero, the widget picks a
.\" Not in ttk: size just large enough to hold its current text.
.SH NOTES
.PP
A portion of the entry may be selected as described below.
If an entry is exporting its selection (see the \fBexportSelection\fR
option), then it will observe the standard X11 protocols for handling the
selection;  entry selections are available as type \fBSTRING\fR.
Entries also observe the standard Tk rules for dealing with the
input focus.  When an entry has the input focus it displays an
\fIinsert cursor\fR to indicate where new characters will be
inserted.
.PP
Entries are capable of displaying strings that are too long to
fit entirely within the widget's window.  In this case, only a
portion of the string will be displayed;  commands described below
may be used to change the view in the window.  Entries use
the standard \fBxScrollCommand\fR mechanism for interacting with
scrollbars (see the description of the \fBxScrollCommand\fR option
for details).
.SH "INDICES"
.PP
Many of the \fBentry\fR widget commands take one or more indices as
arguments.  An index specifies a particular character in the entry's
string, in any of the following ways:
.IP \fInumber\fR
Specifies the character as a numerical index, where 0 corresponds
to the first character in the string.
.IP \fB@@\fInumber\fR
In this form, \fInumber\fR is treated as an x-coordinate in the
entry's window;  the character spanning that x-coordinate is used.
For example,
.QW \fB@@0\fR
indicates the left-most character in the window.
.IP \fBend\fR
Indicates the character just after the last one in the entry's string.
This is equivalent to specifying a numerical index equal to the length
of the entry's string.
.IP \fBinsert\fR
Indicates the character adjacent to and immediately following the
insert cursor.
.IP \fBsel.first\fR
Indicates the first character in the selection.  It is an error to
use this form if the selection is not in the entry window.
.IP \fBsel.last\fR
Indicates the character just after the last one in the selection.
It is an error to use this form if the selection is not in the
entry window.
.LP
Abbreviations may be used for any of the forms above, e.g.\|
.QW \fBe\fR
or
.QW \fBsel.l\fR .
In general, out-of-range indices are automatically rounded to the
nearest legal value.
.SH "WIDGET COMMAND"
.PP
The following subcommands are possible for entry widgets:
.TP
\fIpathName \fBbbox \fIindex\fR
Returns a list of four numbers describing the bounding box of the
character given by \fIindex\fR.
The first two elements of the list give the x and y coordinates of
the upper-left corner of the screen area covered by the character
(in pixels relative to the widget) and the last two elements give
the width and height of the character, in pixels.
The bounding box may refer to a region outside the visible area
of the window.
'\".TP
'\"\fIpathName \fBcget\fR \fIoption\fR
'\"Returns the current value of the specified \fIoption\fR.
'\"See \fIttk::widget(n)\fR.
'\".TP
'\"\fIpathName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
'\"Modify or query widget options.
'\"See \fIttk::widget(n)\fR.
.TP
\fIpathName \fBdelete \fIfirst \fR?\fIlast\fR?
Delete one or more elements of the entry.
\fIFirst\fR is the index of the first character to delete, and
\fIlast\fR is the index of the character just after the last
one to delete.
If \fIlast\fR is not specified it defaults to \fIfirst\fR+1,
i.e. a single character is deleted.
This command returns the empty string.
.TP
\fIpathName \fBget\fR
Returns the entry's string.
.TP
\fIpathName \fBicursor \fIindex\fR
Arrange for the insert cursor to be displayed just before the character
given by \fIindex\fR.  Returns the empty string.
'\".TP
'\"\fIpathName \fBidentify \fIx y\fR
'\"Returns the name of the element at position \fIx\fR, \fIy\fR,
'\"or the empty string if the coordinates are outside the window.
.TP
\fIpathName \fBindex\fI index\fR
Returns the numerical index corresponding to \fIindex\fR.
.TP
\fIpathName \fBinsert \fIindex string\fR
Insert \fIstring\fR just before the character
indicated by \fIindex\fR.  Returns the empty string.
'\".TP
'\"\fIpathName \fBinstate \fIstatespec\fR ?\fIscript\fR?
'\"Test the widget state.
'\"See \fIttk::widget(n)\fR.
.TP
\fIpathName \fBselection \fIoption arg\fR
This command is used to adjust the selection within an entry.  It
has several forms, depending on \fIoption\fR:
.RS
.TP
\fIpathName \fBselection clear\fR
Clear the selection if it is currently in this widget.
If the selection is not in this widget then the command has no effect.
Returns the empty string.
.TP
\fIpathName \fBselection present\fR
Returns 1 if there is are characters selected in the entry,
0 if nothing is selected.
.TP
\fIpathName \fBselection range \fIstart\fR \fIend\fR
Sets the selection to include the characters starting with
the one indexed by \fIstart\fR and ending with the one just
before \fIend\fR.
If \fIend\fR refers to the same character as \fIstart\fR or an
earlier one, then the entry's selection is cleared.
.RE
'\".TP
'\"\fIpathName \fBstate\fR ?\fIstateSpec\fR?
'\"Modify or query the widget state.
'\"See \fIttk::widget(n)\fR.
.TP
\fIpathName \fBvalidate\fR
Force revalidation, independent of the conditions specified 
by the \fB\-validate\fR option.
Returns 0 if validation fails, 1 if it succeeds.
Sets or clears the \fBinvalid\fR state accordingly.
See \fBVALIDATION\fR below for more details.
.TP
\fIpathName \fBxview \fIargs\fR
This command is used to query and change the horizontal position of the
text in the widget's window.  It can take any of the following
forms:
.RS
.TP
\fIpathName \fBxview\fR
Returns a list containing two elements.
Each element is a real fraction between 0 and 1; together they describe
the horizontal span that is visible in the window.
For example, if the first element is .2 and the second element is .6,
20% of the entry's text is off-screen to the left, the middle 40% is visible
in the window, and 40% of the text is off-screen to the right.
These are the same values passed to scrollbars via the \fB\-xscrollcommand\fR
option.
.TP
\fIpathName \fBxview\fR \fIindex\fR
Adjusts the view in the window so that the character given by \fIindex\fR
is displayed at the left edge of the window.
.TP
\fIpathName \fBxview moveto\fI fraction\fR
Adjusts the view in the window so that the character \fIfraction\fR of the
way through the text appears at the left edge of the window.
\fIFraction\fR must be a fraction between 0 and 1.
.TP
\fIpathName \fBxview scroll \fInumber what\fR
This command shifts the view in the window left or right according to
\fInumber\fR and \fIwhat\fR.
\fINumber\fR must be an integer.
\fIWhat\fR must be either \fBunits\fR or \fBpages\fR.
'\" or an abbreviation of one of these, but we don't document that.
If \fIwhat\fR is \fBunits\fR, the view adjusts left or right by
\fInumber\fR average-width characters on the display;  if it is
\fBpages\fR then the view adjusts by \fInumber\fR screenfuls.
If \fInumber\fR is negative then characters farther to the left
become visible;  if it is positive then characters farther to the right
become visible.
.RE
.PP
The entry widget also supports the following generic \fBttk::widget\fR
widget subcommands (see \fIttk::widget(n)\fR for details):
.DS
.ta 5.5c 11c
\fBcget\fR	\fBconfigure\fR	\fBidentify\fR
\fBinstate\fR	\fBstate\fR
.DE
.SH VALIDATION
.PP
The \fB\-validate\fR, \fB\-validatecommand\fR, and \fB\-invalidcommand\fR
options are used to enable entry widget validation.
.SS "VALIDATION MODES"
.PP
There are two main validation modes: \fIprevalidation\fR,
in which the \fB\-validatecommand\fR is evaluated prior to each edit
and the return value is used to determine whether to accept 
or reject the change;
and \fIrevalidation\fR, in which the \fB\-validatecommand\fR is 
evaluated to determine whether the current value is valid.
.PP
The \fB\-validate\fR option determines when validation occurs;
it may be set to any of the following values:
.RS
.IP \fBnone\fR
Default.  This means validation will only occur when 
specifically requested by the \fBvalidate\fR widget command.
.IP \fBkey\fR
The entry will be prevalidated prior to each edit
(specifically, whenever the \fBinsert\fR or \fBdelete\fR 
widget commands are called).
If prevalidation fails, the edit is rejected.
.IP \fBfocus\fR
The entry is revalidated when the entry receives or loses focus.
.IP \fBfocusin\fR
The entry is revalidated when the entry receives focus.
.IP \fBfocusout\fR
The entry is revalidated when the entry loses focus.
.IP \fBall\fR
Validation is performed for all above conditions.
.RE
.PP
The \fB\-invalidcommand\fR is evaluated whenever
the \fB\-validatecommand\fR returns a false value.
.PP
The \fB\-validatecommand\fR and \fB\-invalidcommand\fR
may modify the entry widget's value
via the widget \fBinsert\fR or \fBdelete\fR commands,
or by setting the linked \fB\-textvariable\fR.
If either does so during prevalidation,
then the edit is rejected 
regardless of the value returned by the \fB\-validatecommand\fR.
.PP
If \fB\-validatecommand\fR is empty (the default), 
validation always succeeds.
.SS "VALIDATION SCRIPT SUBSTITUTIONS"
.PP
It is possible to perform percent substitutions on the 
\fB\-validatecommand\fR and \fB\-invalidcommand\fR,
just as in a \fBbind\fR script.
The following substitutions are recognized:
.RS
.IP \fB%d\fR
Type of action: 1 for \fBinsert\fR prevalidation, 
0 for \fBdelete\fR prevalidation,
or \-1 for revalidation.
.IP \fB%i\fR
Index of character string to be inserted/deleted, if any, otherwise \-1.
.IP \fB%P\fR
In prevalidation, the new value of the entry if the edit is accepted.
In revalidation, the current value of the entry.
.IP \fB%s\fR
The current value of entry prior to editing.
.IP \fB%S\fR
The text string being inserted/deleted, if any, {} otherwise.
.IP \fB%v\fR
The current value of the \fB\-validate\fR option.
.IP \fB%V\fR
The validation condition that triggered the callback
(\fBkey\fR, \fBfocusin\fR, \fBfocusout\fR, or \fBforced\fR).
.IP \fB%W\fR
The name of the entry widget.
.RE
.SS "DIFFERENCES FROM TK ENTRY WIDGET VALIDATION"
.PP
The standard Tk entry widget automatically disables validation
(by setting \fB\-validate\fR to \fBnone\fR)
if the \fB\-validatecommand\fR or \fB\-invalidcommand\fR modifies 
the entry's value.
The Tk themed entry widget only disables validation if one
of the validation scripts raises an error, or if \fB\-validatecommand\fR
does not return a valid boolean value.
(Thus, it is not necessary to re-enable validation after 
modifying the entry value in a validation script).
.PP
In addition, the standard entry widget invokes validation whenever the linked
\fB\-textvariable\fR is modified; the Tk themed entry widget does not.
.SH "DEFAULT BINDINGS"
.PP
The entry widget's default bindings enable the following behavior.  
In the descriptions below,
.QW word
refers to a contiguous group of letters, digits, or
.QW _
characters, or any single character other than these.
.IP \0\(bu 4
Clicking mouse button 1 positions the insert cursor
just before the character underneath the mouse cursor, sets the
input focus to this widget, and clears any selection in the widget.
Dragging with mouse button 1 down strokes out a selection between
the insert cursor and the character under the mouse.
.IP \0\(bu 4
Double-clicking with mouse button 1 selects the word under the mouse
and positions the insert cursor at the end of the word.
Dragging after a double click strokes out a selection consisting
of whole words.
.IP \0\(bu 4
Triple-clicking with mouse button 1 selects all of the text in the
entry and positions the insert cursor at the end of the line.
.IP \0\(bu 4
The ends of the selection can be adjusted by dragging with mouse
button 1 while the Shift key is down.
If the button is double-clicked before dragging then the selection
will be adjusted in units of whole words.
.IP \0\(bu 4
Clicking mouse button 1 with the Control key down will position the
insert cursor in the entry without affecting the selection.
.IP \0\(bu 4
If any normal printing characters are typed in an entry, they are
inserted at the point of the insert cursor.
.IP \0\(bu 4
The view in the entry can be adjusted by dragging with mouse button 2.
If mouse button 2 is clicked without moving the mouse, the selection
is copied into the entry at the position of the mouse cursor.
.IP \0\(bu 4
If the mouse is dragged out of the entry on the left or right sides
while button 1 is pressed, the entry will automatically scroll to
make more text visible (if there is more text off-screen on the side
where the mouse left the window).
.IP \0\(bu 4
The Left and Right keys move the insert cursor one character to the
left or right;  they also clear any selection in the entry.
If Left or Right is typed with the Shift key down, then the insertion
cursor moves and the selection is extended to include the new character.
Control-Left and Control-Right move the insert cursor by words, and
Control-Shift-Left and Control-Shift-Right move the insert cursor
by words and also extend the selection.
Control-b and Control-f behave the same as Left and Right, respectively.
.IP \0\(bu 4
The Home key and Control-a move the insert cursor to the
beginning of the entry and clear any selection in the entry.
Shift-Home moves the insert cursor to the beginning of the entry
and extends the selection to that point.
.IP \0\(bu 4
The End key and Control-e move the insert cursor to the
end of the entry and clear any selection in the entry.
Shift-End moves the cursor to the end and extends the selection
to that point.
.IP \0\(bu 4
Control-/ selects all the text in the entry.
.IP \0\(bu 4
Control-\e clears any selection in the entry.
.IP \0\(bu 4
The standard Tk <<Cut>>, <<Copy>>, <<Paste>>, and <<Clear>>
virtual events operate on the selection in the expected manner.
.IP \0\(bu 4
The Delete key deletes the selection, if there is one in the entry.
If there is no selection, it deletes the character to the right of
the insert cursor.
.IP \0\(bu 4
The BackSpace key and Control-h delete the selection, if there is one
in the entry.
If there is no selection, it deletes the character to the left of
the insert cursor.
.IP \0\(bu 4
Control-d deletes the character to the right of the insert cursor.
.IP \0\(bu 4
Control-k deletes all the characters to the right of the insertion
cursor.
.SH "WIDGET STATES"
.PP
In the \fBdisabled\fR state, 
the entry cannot be edited and the text cannot be selected.
In the \fBreadonly\fR state,
no insert cursor is displayed and 
the entry cannot be edited 
(specifically: the \fBinsert\fR and \fBdelete\fR commands have no effect).
The \fBdisabled\fR state is the same as \fBreadonly\fR, 
and in addition text cannot be selected.
.PP
Note that changes to the linked \fB\-textvariable\fR will 
still be reflected in the entry, even if it is disabled or readonly.
.PP
Typically, the text is
.QW grayed-out
in the \fBdisabled\fR state,
and a different background is used in the \fBreadonly\fR state. 
.PP
The entry widget sets the \fBinvalid\fR state if revalidation fails,
and clears it whenever validation succeeds.
.SH "SEE ALSO"
ttk::widget(n), entry(n)
.SH KEYWORDS
entry, widget, text field
'\" Local Variables:
'\" mode: nroff
'\" End:
@


1.14
log
@Tweaking for better readability.
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.13 2008/09/23 13:36:56 dkf Exp $
d274 1
@


1.13
log
@Fix [Bug 2118116]
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.12 2008/06/30 22:57:03 dkf Exp $
d137 1
a137 1
Abbreviations may be used for any of the forms above, e.g.
d140 1
a140 1
.QW \fBsel.f\fR .
d145 1
a145 1
The following commands are possible for entry widgets:
d156 8
a163 8
.TP
\fIpathName \fBcget\fR \fIoption\fR
Returns the current value of the specified \fIoption\fR.
See \fIttk::widget(n)\fR.
.TP
\fIpathName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
Modify or query widget options.
See \fIttk::widget(n)\fR.
d180 4
a183 4
.TP
\fIpathName \fBidentify \fIx y\fR
Returns the name of the element at position \fIx\fR, \fIy\fR,
or the empty string if the coordinates are outside the window.
d191 4
a194 4
.TP
\fIpathName \fBinstate \fIstatespec\fR ?\fIscript\fR?
Test the widget state.
See \fIttk::widget(n)\fR.
d217 4
a220 4
.TP
\fIpathName \fBstate\fR ?\fIstateSpec\fR?
Modify or query the widget state.
See \fIttk::widget(n)\fR.
d227 1
d267 7
d289 1
d306 1
d324 1
a324 1
\fB\-validatecommand\fR and \fBinvalidCommand\fR,
d327 1
d348 1
d350 1
a350 1
.IP \(bu
d358 1
a358 1
(Thus, it is not necessary to reenable validation after 
d360 2
a361 2
.IP \(bu
The standard entry widget invokes validation whenever the linked
d371 1
a371 1
.IP \(bu
d377 1
a377 1
.IP \(bu
d382 1
a382 1
.IP \(bu
d385 1
a385 1
.IP \(bu
d390 1
a390 1
.IP \(bu
d393 1
a393 1
.IP \(bu
d396 1
a396 1
.IP \(bu
d400 1
a400 1
.IP \(bu
d405 1
a405 1
.IP \(bu
d414 1
a414 1
.IP \(bu
d419 1
a419 1
.IP \(bu
d424 1
a424 1
.IP \(bu
d426 1
a426 1
.IP \(bu
d428 1
a428 1
.IP \(bu
d431 1
a431 1
.IP \(bu
d435 1
a435 1
.IP \(bu
d440 1
a440 1
.IP \(bu
d442 1
a442 1
.IP \(bu
@


1.12
log
@Minor doc updates (removing out of date changebars, improving typedef formatting,
 etc.)
@
text
@a0 1
'\" -*- nroff -*-
d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.11 2008/01/29 15:38:00 dkf Exp $
d458 3
@


1.11
log
@Adjusted handling of the standard options part of the Ttk manual pages so
that they are documented in the correct location. [Bug 1876493]
@
text
@d1 1
d11 1
a11 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.10 2007/12/13 15:23:44 dgp Exp $
d92 1
d110 1
d268 1
d272 1
d313 1
d353 1
d435 1
@


1.11.2.1
log
@        Major backport of 8.6 Ttk for 8.5.9.  Most changes were only being
        committed to head (8.6), although they could apply for 8.5 as well.
        This re-sync makes future work easier to maintain and adds some
        useful work for 8.5 users. Notable changes:
        - Lots of code cleanup
        - Some bug fixes never backported
        - Addition of ttk::spinbox
        - minor color changes
        - Improved Vista/7 styling
        - Move to tile version 0.8.6 (pseudo-package)
        - ABI and API compatible (even $w identify)
        - minor new features (extended $w identify)
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.15 2008/11/24 09:56:44 dkf Exp $
a90 1
.PP
a107 1
.PP
d135 1
a135 1
Abbreviations may be used for any of the forms above, e.g.\|
d138 1
a138 1
.QW \fBsel.l\fR .
d143 1
a143 1
The following subcommands are possible for entry widgets:
d154 8
a161 8
'\".TP
'\"\fIpathName \fBcget\fR \fIoption\fR
'\"Returns the current value of the specified \fIoption\fR.
'\"See \fIttk::widget(n)\fR.
'\".TP
'\"\fIpathName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
'\"Modify or query widget options.
'\"See \fIttk::widget(n)\fR.
d178 4
a181 4
'\".TP
'\"\fIpathName \fBidentify \fIx y\fR
'\"Returns the name of the element at position \fIx\fR, \fIy\fR,
'\"or the empty string if the coordinates are outside the window.
d189 4
a192 4
'\".TP
'\"\fIpathName \fBinstate \fIstatespec\fR ?\fIscript\fR?
'\"Test the widget state.
'\"See \fIttk::widget(n)\fR.
d215 4
a218 4
'\".TP
'\"\fIpathName \fBstate\fR ?\fIstateSpec\fR?
'\"Modify or query the widget state.
'\"See \fIttk::widget(n)\fR.
a224 1
See \fBVALIDATION\fR below for more details.
a263 8
.PP
The entry widget also supports the following generic \fBttk::widget\fR
widget subcommands (see \fIttk::widget(n)\fR for details):
.DS
.ta 5.5c 11c
\fBcget\fR	\fBconfigure\fR	\fBidentify\fR
\fBinstate\fR	\fBstate\fR
.DE
a264 1
.PP
a267 1
.PP
a276 1
.RS
a292 1
.RE
a307 1
.PP
d309 1
a309 1
\fB\-validatecommand\fR and \fB\-invalidcommand\fR,
a311 1
.RS
a331 1
.RE
d333 1
a333 1
.PP
d341 1
a341 1
(Thus, it is not necessary to re-enable validation after 
d343 2
a344 2
.PP
In addition, the standard entry widget invokes validation whenever the linked
a346 1
.PP
d353 1
a353 1
.IP \0\(bu 4
d359 1
a359 1
.IP \0\(bu 4
d364 1
a364 1
.IP \0\(bu 4
d367 1
a367 1
.IP \0\(bu 4
d372 1
a372 1
.IP \0\(bu 4
d375 1
a375 1
.IP \0\(bu 4
d378 1
a378 1
.IP \0\(bu 4
d382 1
a382 1
.IP \0\(bu 4
d387 1
a387 1
.IP \0\(bu 4
d396 1
a396 1
.IP \0\(bu 4
d401 1
a401 1
.IP \0\(bu 4
d406 1
a406 1
.IP \0\(bu 4
d408 1
a408 1
.IP \0\(bu 4
d410 1
a410 1
.IP \0\(bu 4
d413 1
a413 1
.IP \0\(bu 4
d417 1
a417 1
.IP \0\(bu 4
d422 1
a422 1
.IP \0\(bu 4
d424 1
a424 1
.IP \0\(bu 4
a427 1
.PP
a450 3
'\" Local Variables:
'\" mode: nroff
'\" End:
@


1.10
log
@merge stable branch onto HEAD
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.3.2.4 2007/12/10 18:39:28 dgp Exp $
d28 3
a30 3
.SO
\-class	\-cursor	\-style	\-takefocus
\-xscrollcommand
@


1.9
log
@Remove extra .BEs that got added by mistake somewhere.
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.8 2007/11/01 10:59:43 dkf Exp $
@


1.8
log
@Make documentation use the name that scripts use as much as possible.
[Bug 1640073]
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.7 2007/10/29 16:04:14 dkf Exp $
a89 1
.BE
@


1.7
log
@Lots more GOOBE stuff. Now works with 'make html'!
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.6 2007/10/26 20:13:23 dgp Exp $
d13 1
a13 1
.TH ttk_entry n 8.5 Tk "Tk Themed Widget"
a14 1
.\" Use _ instead of :: as the name becomes a filename on install
d16 1
a16 1
ttk_entry \- Editable text field widget
a19 1

a31 1

d66 1
a66 1
Compatibility option; see \fIttk_widget(n)\fR for details.
a90 1

a107 1

d158 1
a158 1
See \fIttk_widget(n)\fR.
d162 1
a162 1
See \fIttk_widget(n)\fR.
d193 1
a193 1
See \fIttk_widget(n)\fR.
d219 1
a219 1
See \fIttk_widget(n)\fR.
a264 1

a346 1

a427 1

d449 1
a449 1
ttk_widget(n), entry(n)
@


1.6
log
@        * doc/*.1:              Revert doc changes that broke
        * doc/*.3:              `make html` so we can get the release
        * doc/*.n:              out the door.
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.3 2006/12/13 23:04:33 hobbs Exp $
d27 1
a27 1
with the \fB-textvariable\fR option.
d29 1
a29 1
standard \fB-xscrollcommand\fR option and \fBxview\fR widget command.
d60 3
a62 1
the first character in the value of this option, such as ``*''.
d123 3
a125 2
For example, ``\fB@@0\fR'' indicates the left-most character in the
window.
d135 1
a135 1
use this form if the selection isn't in the entry window.
d138 1
a138 1
It is an error to use this form if the selection isn't in the
d141 6
a146 4
Abbreviations may be used for any of the forms above, e.g. ``\fBe\fR''
or ``\fBsel.f\fR''.  In general, out-of-range indices are automatically
rounded to the nearest legal value.

d174 1
a174 1
If \fIlast\fR isn't specified it defaults to \fIfirst\fR+1,
d207 1
a207 1
If the selection isn't in this widget then the command has no effect.
d228 1
a228 1
by the \fB-validate\fR option.
d272 1
a272 1
The \fB-validate\fR, \fB-validatecommand\fR, and \fB-invalidcommand\fR
d276 1
a276 1
in which the \fB-validatecommand\fR is evaluated prior to each edit
d279 1
a279 1
and \fIrevalidation\fR, in which the \fB-validatecommand\fR is 
d282 1
a282 1
The \fB-validate\fR option determines when validation occurs;
d301 2
a302 2
The \fB-invalidcommand\fR is evaluated whenever
the \fB-validatecommand\fR returns a false value.
d304 1
a304 1
The \fB-validatecommand\fR and \fB-invalidcommand\fR
d307 1
a307 1
or by setting the linked \fB-textvariable\fR.
d310 1
a310 1
regardless of the value returned by the \fB-validatecommand\fR.
d312 1
a312 1
If \fB-validatecommand\fR is empty (the default), 
d316 1
a316 1
\fB-validatecommand\fR and \fBinvalidCommand\fR,
d322 1
a322 1
or -1 for revalidation.
d324 1
a324 1
Index of character string to be inserted/deleted, if any, otherwise -1.
d333 1
a333 1
The current value of the \fB-validate\fR option.
d342 2
a343 2
(by setting \fB-validate\fR to \fBnone\fR)
if the \fB-validatecommand\fR or \fB-invalidcommand\fR modifies 
d346 1
a346 1
of the validation scripts raises an error, or if \fB-validatecommand\fR
d352 1
a352 1
\fB-textvariable\fR is modified; the Tk themed entry widget does not.
d356 5
a360 3
In the descriptions below, ``word'' refers to a contiguous group
of letters, digits, or ``_'' characters, or any single character
other than these.
d446 1
a446 1
Note that changes to the linked \fB-textvariable\fR will 
d449 3
a451 1
Typically, the text is "grayed-out" in the \fBdisabled\fR state,
a455 1

a457 1

@


1.5
log
@Lots of improvements to look and feel of manual pages
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.4 2007/10/23 15:44:35 dkf Exp $
d27 1
a27 1
with the \fB\-textvariable\fR option.
d29 1
a29 1
standard \fB\-xscrollcommand\fR option and \fBxview\fR widget command.
d31 2
a32 2
\-class	\-cursor	\-style
\-takefocus	\-xscrollcommand
d34 1
d60 1
a60 3
the first character in the value of this option, such as
.QW *
or a bullet character.
d91 2
d110 1
d121 2
a122 3
For example,
.QW \fB@@0\fR
indicates the left-most character in the window.
d138 4
a141 6
Abbreviations may be used for any of the forms above, e.g.
.QW \fBe\fR
or
.QW \fBsel.f\fR .
In general, out-of-range indices are automatically rounded to the nearest
legal value.
d223 1
a223 1
by the \fB\-validate\fR option.
d265 1
d267 1
a267 1
The \fB\-validate\fR, \fB\-validatecommand\fR, and \fB\-invalidcommand\fR
d271 1
a271 1
in which the \fB\-validatecommand\fR is evaluated prior to each edit
d274 1
a274 1
and \fIrevalidation\fR, in which the \fB\-validatecommand\fR is 
d277 1
a277 1
The \fB\-validate\fR option determines when validation occurs;
d296 2
a297 2
The \fB\-invalidcommand\fR is evaluated whenever
the \fB\-validatecommand\fR returns a false value.
d299 1
a299 1
The \fB\-validatecommand\fR and \fB\-invalidcommand\fR
d302 1
a302 1
or by setting the linked \fB\-textvariable\fR.
d305 1
a305 1
regardless of the value returned by the \fB\-validatecommand\fR.
d307 1
a307 1
If \fB\-validatecommand\fR is empty (the default), 
d311 1
a311 1
\fB\-validatecommand\fR and \fBinvalidCommand\fR,
d328 1
a328 1
The current value of the \fB\-validate\fR option.
d337 2
a338 2
(by setting \fB\-validate\fR to \fBnone\fR)
if the \fB\-validatecommand\fR or \fB\-invalidcommand\fR modifies 
d341 1
a341 1
of the validation scripts raises an error, or if \fB\-validatecommand\fR
d347 2
a348 1
\fB\-textvariable\fR is modified; the Tk themed entry widget does not.
d351 3
a353 5
In the descriptions below,
.QW word
refers to a contiguous group of letters, digits, or
.QW _
characters, or any single character other than these.
d428 1
d439 1
a439 1
Note that changes to the linked \fB\-textvariable\fR will 
d447 1
d450 1
@


1.4
log
@Rendering-with-groff GOOBE.
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.3 2006/12/13 23:04:33 hobbs Exp $
d59 3
a61 1
the first character in the value of this option, such as ``*''.
d119 3
a121 2
For example, ``\fB@@0\fR'' indicates the left-most character in the
window.
d137 6
a142 3
Abbreviations may be used for any of the forms above, e.g. ``\fBe\fR''
or ``\fBsel.f\fR''.  In general, out-of-range indices are automatically
rounded to the nearest legal value.
d350 5
a354 3
In the descriptions below, ``word'' refers to a contiguous group
of letters, digits, or ``_'' characters, or any single character
other than these.
@


1.3
log
@	* unix/Makefile.in (install-doc): intentionally skip ttk_dialog.n
	installation (not for public consumption)

	* doc/scrollbar.n, doc/button.n, doc/checkbutton.n:
	* doc/entry.n, doc/frame.n, doc/label.n, doc/labelframe.n:
	* doc/menu.n, doc/menubutton.n, doc/panedwindow.n:
	* doc/radiobutton.n, doc/scrollbar.n, doc/ttk_*: revamp ttk docs
	to use consist nroff format (not 100% consistent with classic
	widget docs).  Add more man page cross-linking "SEE ALSO".
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: popup.n,v 1.4 2004/06/21 20:59:29 dkf Exp $
d27 1
a27 1
with the \fB-textvariable\fR option.
d29 1
a29 1
standard \fB-xscrollcommand\fR option and \fBxview\fR widget command.
d31 2
a32 2
\-class	\-cursor	\-style	\-takefocus
\-xscrollcommand
a33 1

a89 2
.BE

a106 1

a136 1

d218 1
a218 1
by the \fB-validate\fR option.
a259 1

d261 1
a261 1
The \fB-validate\fR, \fB-validatecommand\fR, and \fB-invalidcommand\fR
d265 1
a265 1
in which the \fB-validatecommand\fR is evaluated prior to each edit
d268 1
a268 1
and \fIrevalidation\fR, in which the \fB-validatecommand\fR is 
d271 1
a271 1
The \fB-validate\fR option determines when validation occurs;
d290 2
a291 2
The \fB-invalidcommand\fR is evaluated whenever
the \fB-validatecommand\fR returns a false value.
d293 1
a293 1
The \fB-validatecommand\fR and \fB-invalidcommand\fR
d296 1
a296 1
or by setting the linked \fB-textvariable\fR.
d299 1
a299 1
regardless of the value returned by the \fB-validatecommand\fR.
d301 1
a301 1
If \fB-validatecommand\fR is empty (the default), 
d305 1
a305 1
\fB-validatecommand\fR and \fBinvalidCommand\fR,
d322 1
a322 1
The current value of the \fB-validate\fR option.
d331 2
a332 2
(by setting \fB-validate\fR to \fBnone\fR)
if the \fB-validatecommand\fR or \fB-invalidcommand\fR modifies 
d335 1
a335 1
of the validation scripts raises an error, or if \fB-validatecommand\fR
d341 1
a341 2
\fB-textvariable\fR is modified; the Tk themed entry widget does not.

a420 1

d431 1
a431 1
Note that changes to the linked \fB-textvariable\fR will 
a438 1

a440 1

@


1.3.2.1
log
@merge updates from HEAD
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.3 2006/12/13 23:04:33 hobbs Exp $
d27 1
a27 1
with the \fB\-textvariable\fR option.
d29 1
a29 1
standard \fB\-xscrollcommand\fR option and \fBxview\fR widget command.
d31 2
a32 2
\-class	\-cursor	\-style
\-takefocus	\-xscrollcommand
d34 1
d91 2
d110 1
d141 1
d223 1
a223 1
by the \fB\-validate\fR option.
d265 1
d267 1
a267 1
The \fB\-validate\fR, \fB\-validatecommand\fR, and \fB\-invalidcommand\fR
d271 1
a271 1
in which the \fB\-validatecommand\fR is evaluated prior to each edit
d274 1
a274 1
and \fIrevalidation\fR, in which the \fB\-validatecommand\fR is 
d277 1
a277 1
The \fB\-validate\fR option determines when validation occurs;
d296 2
a297 2
The \fB\-invalidcommand\fR is evaluated whenever
the \fB\-validatecommand\fR returns a false value.
d299 1
a299 1
The \fB\-validatecommand\fR and \fB\-invalidcommand\fR
d302 1
a302 1
or by setting the linked \fB\-textvariable\fR.
d305 1
a305 1
regardless of the value returned by the \fB\-validatecommand\fR.
d307 1
a307 1
If \fB\-validatecommand\fR is empty (the default), 
d311 1
a311 1
\fB\-validatecommand\fR and \fBinvalidCommand\fR,
d328 1
a328 1
The current value of the \fB\-validate\fR option.
d337 2
a338 2
(by setting \fB\-validate\fR to \fBnone\fR)
if the \fB\-validatecommand\fR or \fB\-invalidcommand\fR modifies 
d341 1
a341 1
of the validation scripts raises an error, or if \fB\-validatecommand\fR
d347 2
a348 1
\fB\-textvariable\fR is modified; the Tk themed entry widget does not.
d428 1
d439 1
a439 1
Note that changes to the linked \fB\-textvariable\fR will 
d447 1
d450 1
@


1.3.2.2
log
@merge updates from HEAD
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.3.2.1 2007/10/24 12:59:31 dgp Exp $
d27 1
a27 1
with the \fB-textvariable\fR option.
d29 1
a29 1
standard \fB-xscrollcommand\fR option and \fBxview\fR widget command.
d31 2
a32 2
\-class	\-cursor	\-style	\-takefocus
\-xscrollcommand
a33 1

a89 2
.BE

a106 1

a136 1

d218 1
a218 1
by the \fB-validate\fR option.
a259 1

d261 1
a261 1
The \fB-validate\fR, \fB-validatecommand\fR, and \fB-invalidcommand\fR
d265 1
a265 1
in which the \fB-validatecommand\fR is evaluated prior to each edit
d268 1
a268 1
and \fIrevalidation\fR, in which the \fB-validatecommand\fR is 
d271 1
a271 1
The \fB-validate\fR option determines when validation occurs;
d290 2
a291 2
The \fB-invalidcommand\fR is evaluated whenever
the \fB-validatecommand\fR returns a false value.
d293 1
a293 1
The \fB-validatecommand\fR and \fB-invalidcommand\fR
d296 1
a296 1
or by setting the linked \fB-textvariable\fR.
d299 1
a299 1
regardless of the value returned by the \fB-validatecommand\fR.
d301 1
a301 1
If \fB-validatecommand\fR is empty (the default), 
d305 1
a305 1
\fB-validatecommand\fR and \fBinvalidCommand\fR,
d322 1
a322 1
The current value of the \fB-validate\fR option.
d331 2
a332 2
(by setting \fB-validate\fR to \fBnone\fR)
if the \fB-validatecommand\fR or \fB-invalidcommand\fR modifies 
d335 1
a335 1
of the validation scripts raises an error, or if \fB-validatecommand\fR
d341 1
a341 2
\fB-textvariable\fR is modified; the Tk themed entry widget does not.

a420 1

d431 1
a431 1
Note that changes to the linked \fB-textvariable\fR will 
a438 1

a440 1

@


1.3.2.3
log
@merge updates from HEAD
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id$
d13 1
a13 1
.TH ttk::entry n 8.5 Tk "Tk Themed Widget"
d15 1
d17 1
a17 1
ttk::entry \- Editable text field widget
d21 1
d27 1
a27 1
with the \fB\-textvariable\fR option.
d29 1
a29 1
standard \fB\-xscrollcommand\fR option and \fBxview\fR widget command.
d34 1
d60 1
a60 3
the first character in the value of this option, such as
.QW *
or a bullet.
d67 1
a67 1
Compatibility option; see \fIttk::widget(n)\fR for details.
d92 1
d110 1
d121 2
a122 3
For example,
.QW \fB@@0\fR
indicates the left-most character in the window.
d132 1
a132 1
use this form if the selection is not in the entry window.
d135 1
a135 1
It is an error to use this form if the selection is not in the
d138 4
a141 6
Abbreviations may be used for any of the forms above, e.g.
.QW \fBe\fR
or
.QW \fBsel.f\fR .
In general, out-of-range indices are automatically rounded to the
nearest legal value.
d158 1
a158 1
See \fIttk::widget(n)\fR.
d162 1
a162 1
See \fIttk::widget(n)\fR.
d169 1
a169 1
If \fIlast\fR is not specified it defaults to \fIfirst\fR+1,
d193 1
a193 1
See \fIttk::widget(n)\fR.
d202 1
a202 1
If the selection is not in this widget then the command has no effect.
d219 1
a219 1
See \fIttk::widget(n)\fR.
d223 1
a223 1
by the \fB\-validate\fR option.
d265 1
d267 1
a267 1
The \fB\-validate\fR, \fB\-validatecommand\fR, and \fB\-invalidcommand\fR
d271 1
a271 1
in which the \fB\-validatecommand\fR is evaluated prior to each edit
d274 1
a274 1
and \fIrevalidation\fR, in which the \fB\-validatecommand\fR is 
d277 1
a277 1
The \fB\-validate\fR option determines when validation occurs;
d296 2
a297 2
The \fB\-invalidcommand\fR is evaluated whenever
the \fB\-validatecommand\fR returns a false value.
d299 1
a299 1
The \fB\-validatecommand\fR and \fB\-invalidcommand\fR
d302 1
a302 1
or by setting the linked \fB\-textvariable\fR.
d305 1
a305 1
regardless of the value returned by the \fB\-validatecommand\fR.
d307 1
a307 1
If \fB\-validatecommand\fR is empty (the default), 
d311 1
a311 1
\fB\-validatecommand\fR and \fBinvalidCommand\fR,
d317 1
a317 1
or \-1 for revalidation.
d319 1
a319 1
Index of character string to be inserted/deleted, if any, otherwise \-1.
d328 1
a328 1
The current value of the \fB\-validate\fR option.
d337 2
a338 2
(by setting \fB\-validate\fR to \fBnone\fR)
if the \fB\-validatecommand\fR or \fB\-invalidcommand\fR modifies 
d341 1
a341 1
of the validation scripts raises an error, or if \fB\-validatecommand\fR
d347 2
a348 1
\fB\-textvariable\fR is modified; the Tk themed entry widget does not.
d351 3
a353 5
In the descriptions below,
.QW word
refers to a contiguous group of letters, digits, or
.QW _
characters, or any single character other than these.
d428 1
d439 1
a439 1
Note that changes to the linked \fB\-textvariable\fR will 
d442 1
a442 3
Typically, the text is
.QW grayed-out
in the \fBdisabled\fR state,
d447 1
d449 2
a450 1
ttk::widget(n), entry(n)
@


1.3.2.4
log
@merge updates from HEAD
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.3.2.3 2007/11/01 16:37:16 dgp Exp $
d90 1
@


1.3.2.5
log
@merge updates from HEAD
@
text
@d10 1
a10 1
'\" RCS: @@(#) $Id: ttk_entry.n,v 1.10 2007/12/13 15:23:44 dgp Exp $
d28 3
a30 3
.SO ttk_widget
\-class	\-cursor	\-style
\-takefocus	\-xscrollcommand
@


1.2
log
@Convert \fP to \fR so that man-page scrapers have an easier time.
@
text
@a1 3
'\" SOURCE: entry.n, r1.12
'\"
'\" Copyright (c) 1990-1994 The Regents of the University of California.
d9 3
d15 1
d17 1
a17 1
ttk::entry \- Editable text field widget
d20 2
d24 1
a24 1
An \fBentry\fR widget displays a one-line text string and
d34 1
d67 1
a67 1
Compatibility option; see \fBwidget(n)\fR for details.
d92 1
d110 1
d141 1
d158 1
a158 1
See \fIwidget(n)\fR.
d162 1
a162 1
See \fIwidget(n)\fR.
d193 1
a193 1
See \fIwidget(n)\fR.
d219 1
a219 1
See \fIwidget(n)\fR.
d265 1
d348 1
d428 1
d447 4
@


1.1
log
@	* doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:
	* doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n:
	* doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n:
	* doc/ttk_intro.n, doc/ttk_label.n, doc/ttk_labelframe.n:
	* doc/ttk_menubutton.n, doc/ttk_notebook.n, doc/ttk_panedwindow.n:
	* doc/ttk_progressbar.n, doc/ttk_radiobutton.n, doc/ttk_scrollbar.n:
	* doc/ttk_separator.n, doc/ttk_sizegrip.n, doc/ttk_style.n:
	* doc/ttk_treeview.n, doc/ttk_widget.n,:
	* generic/ttk/ttk.decls, generic/ttk/ttkBlink.c:
	* generic/ttk/ttkButton.c, generic/ttk/ttkCache.c:
	* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c:
	* generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c:
	* generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c:
	* generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c:
	* generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c:
	* generic/ttk/ttkLayout.c, generic/ttk/ttkManager.c:
	* generic/ttk/ttkManager.h, generic/ttk/ttkNotebook.c:
	* generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c:
	* generic/ttk/ttkScale.c, generic/ttk/ttkScroll.c:
	* generic/ttk/ttkScrollbar.c, generic/ttk/ttkSeparator.c:
	* generic/ttk/ttkSquare.c, generic/ttk/ttkState.c:
	* generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c:
	* generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c:
	* generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h:
	* generic/ttk/ttkTrace.c, generic/ttk/ttkTrack.c:
	* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c:
	* generic/ttk/ttkWidget.h:
	* library/demos/ttk_demo.tcl, library/demos/ttk_iconlib.tcl:
	* library/demos/ttk_repeater.tcl:
	* library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl:
	* library/ttk/button.tcl, library/ttk/clamTheme.tcl:
	* library/ttk/classicTheme.tcl, library/ttk/combobox.tcl:
	* library/ttk/cursors.tcl, library/ttk/defaults.tcl:
	* library/ttk/dialog.tcl, library/ttk/entry.tcl:
	* library/ttk/fonts.tcl, library/ttk/icons.tcl:
	* library/ttk/keynav.tcl, library/ttk/menubutton.tcl:
	* library/ttk/notebook.tcl, library/ttk/panedwindow.tcl:
	* library/ttk/progress.tcl, library/ttk/scale.tcl:
	* library/ttk/scrollbar.tcl, library/ttk/sizegrip.tcl:
	* library/ttk/treeview.tcl, library/ttk/ttk.tcl:
	* library/ttk/utils.tcl, library/ttk/winTheme.tcl:
	* library/ttk/xpTheme.tcl:
	* macosx/ttkMacOSXTheme.c:
	* tests/ttk/all.tcl, tests/ttk/bwidget.test, tests/ttk/combobox.test:
	* tests/ttk/entry.test, tests/ttk/image.test:
	* tests/ttk/labelframe.test, tests/ttk/layout.test:
	* tests/ttk/misc.test, tests/ttk/notebook.test:
	* tests/ttk/panedwindow.test, tests/ttk/progressbar.test:
	* tests/ttk/scrollbar.test, tests/ttk/treetags.test:
	* tests/ttk/treeview.test, tests/ttk/ttk.test, tests/ttk/validate.test:
	* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c:
	First import of Ttk themed Tk widgets as branched from tile 0.7.8

	* generic/tkInt.h, generic/tkWindow.c: add Ttk_Init call, copy
	tk classic widgets to ::tk namespace.
	* library/tk.tcl: add source of ttk/ttk.tcl, define $::ttk::library.
	* unix/Makefile.in, win/Makefile.in: add Ttk build bits
	* win/configure, win/configure.in: check for uxtheme.h (XP theme).
@
text
@d21 1
a21 1
An \fBentry\fP widget displays a one-line text string and
d24 1
a24 1
with the \fB-textvariable\fP option.
d26 1
a26 1
standard \fB-xscrollcommand\fP option and \fBxview\fP widget command.
d48 1
a48 1
One of \fBleft\fP, \fBcenter\fP, or \fBright\fP.
d63 1
a63 1
Compatibility option; see \fBwidget(n)\fP for details.
d66 1
a66 1
See \fBWIDGET STATES\fP, below.
d106 1
a106 1
Many of the \fBentry\fP widget commands take one or more indices as
d150 2
a151 2
Returns the current value of the specified \fIoption\fP.
See \fIwidget(n)\fP.
d155 1
a155 1
See \fIwidget(n)\fP.
d174 1
a174 1
Returns the name of the element at position \fIx\fP, \fIy\fP,
d186 1
a186 1
See \fIwidget(n)\fP.
d212 1
a212 1
See \fIwidget(n)\fP.
d218 1
a218 1
Sets or clears the \fBinvalid\fP state accordingly.
d259 1
a259 1
The \fB-validate\fP, \fB-validatecommand\fP, and \fB-invalidcommand\fP
d262 2
a263 2
There are two main validation modes: \fIprevalidation\fP,
in which the \fB-validatecommand\fP is evaluated prior to each edit
d266 1
a266 1
and \fIrevalidation\fP, in which the \fB-validatecommand\fP is 
d269 1
a269 1
The \fB-validate\fP option determines when validation occurs;
d273 1
a273 1
specifically requested by the \fBvalidate\fP widget command.
d276 1
a276 1
(specifically, whenever the \fBinsert\fP or \fBdelete\fP 
d288 2
a289 2
The \fB-invalidcommand\fP is evaluated whenever
the \fB-validatecommand\fP returns a false value.
d291 1
a291 1
The \fB-validatecommand\fP and \fB-invalidcommand\fP
d293 2
a294 2
via the widget \fBinsert\fP or \fBdelete\fP commands,
or by setting the linked \fB-textvariable\fP.
d297 1
a297 1
regardless of the value returned by the \fB-validatecommand\fP.
d299 1
a299 1
If \fB-validatecommand\fP is empty (the default), 
d320 1
a320 1
The current value of the \fB-validate\fP option.
d323 1
a323 1
(\fBkey\fP, \fBfocusin\fP, \fBfocusout\fP, or \fBforced\fP).
d329 2
a330 2
(by setting \fB-validate\fP to \fBnone\fP)
if the \fB-validatecommand\fP or \fB-invalidcommand\fP modifies 
d333 1
a333 1
of the validation scripts raises an error, or if \fB-validatecommand\fP
d339 1
a339 1
\fB-textvariable\fP is modified; the Tk themed entry widget does not.
d420 1
a420 1
In the \fBdisabled\fP state, 
d422 1
a422 1
In the \fBreadonly\fP state,
d425 2
a426 2
(specifically: the \fBinsert\fP and \fBdelete\fP commands have no effect).
The \fBdisabled\fP state is the same as \fBreadonly\fP, 
d429 1
a429 1
Note that changes to the linked \fB-textvariable\fP will 
d432 2
a433 2
Typically, the text is "grayed-out" in the \fBdisabled\fP state,
and a different background is used in the \fBreadonly\fP state. 
d435 1
a435 1
The entry widget sets the \fBinvalid\fP state if revalidation fails,
@

