wmarkentry::wmarkentry
- Create and manipulate wmarkentry widgetswmarkentry::wmarkentry pathName ?options?
-background or -bg
-borderwidth or -bd
-cursor
-exportselection
-font
-foreground or -fg
-highlightbackground
-highlightcolor
-highlightthickness
-insertbackground
-insertborderwidth
-insertofftime
-insertontime
-insertwidth
-justify
-relief
-selectbackground
-selectborderwidth
-selectforeground
-takefocus
-textvariable
-xscrollcommand
-disabledbackground
-disabledforeground
-invalidcommand or -invcmd
-readonlybackground
-show
-state
-validate
-validatecommand or -vcmd
-width
-watermark text
-watermarkforeground color
pathName bbox
index
pathName cget
option
pathName configure
?option? ?value option value ...?
pathName delete
first ?last?
pathName entrytag
pathName get
pathName icursor
index
pathName index
index
pathName insert
index string
pathName scan
option args
pathName scan mark
x
pathName scan dragto
x
pathName selection
option arg
pathName selection adjust
index
pathName selection clear
pathName selection from
index
pathName selection present
pathName selection range
start end
pathName selection to
index
pathName validate
pathName xview
args
pathName xview
pathName xview index
pathName xview moveto fraction
pathName xview scroll number what
wmarkentry::wmarkentry
- Create and manipulate wmarkentry widgetswmarkentry::wmarkentry pathName ?options?
-background or -bg
-borderwidth or -bd
-cursor
-exportselection
-font
-foreground or -fg
-highlightbackground
-highlightcolor
-highlightthickness
-insertbackground
-insertborderwidth
-insertofftime
-insertontime
-insertwidth
-justify
-relief
-selectbackground
-selectborderwidth
-selectforeground
-takefocus
-textvariable
-xscrollcommand
-disabledbackground
-disabledforeground
-invalidcommand or -invcmd
-readonlybackground
-show
-state
-validate
-validatecommand or -vcmd
-width
Command-Line Name: | -watermark |
Database Name: | watermark |
Database Class: | Watermark |
Specifies a textual string that will be used as a watermark in the entry field. The watermark string cannot be copied or selected and only is visible when the entry field is empty. Once the user begins to type in the entry field, the watermark string is cleared and the user's input data is visible. By default, no watermark is displayed in the entry field. The watermark can be cleared by setting this option to the empty string.
Command-Line Name: | -watermarkforeground |
Database Name: | watermarkForeground |
Database Class: | Foreground |
Specifies the foreground color to use when a watermark is to be displayed in the entry field.
wmarkentry::wmarkentry
command creates a new window named
pathName
and of the class WMarkEntry
, and makes it
into a wmarkentry widget. Additional options, described above, may be
specified on the command-line or in the option database to configure aspects of the
tokenentry sucah as its colors, font, and sizing. The
wmarkentry::wmarkentry
command returns its pathName
argument. At the time this command is invoked, there must not exist a window named
pathName
, but pathName
's parent must exist.
wmarkentry::wmarkentry
command creates a new Tcl command whose
name is pathName
. This command may be used to invoke various
operations on the widget. It has the following general form:
pathName option ?arg arg ...?
option
and the arg
determine the exact behavior
of the command. The following commands are possible for tokenentry widgets:
pathName bbox index
pathName cget option
pathName configure ?option? ?value option value ...?
pathName delete first ?last?
pathName get
pathName entrytag
pathName icursor index
pathName index index
pathName insert index string
pathName scan option args
pathName scan mark x
pathName scan dragto x
pathName selection option arg
pathName selection adjust index
pathName selection clear
pathName selection from index
pathName selection present
pathName selection range start end
pathName selection to index
pathName validate
pathName xview args
pathName xview
pathName xview index
pathName xview moveto fraction
pathName xview scroll number what