'\"
|
'\"
|
'\" Copyright (c) 1996, Expert Interface Technologies
|
'\" Copyright (c) 1996, Expert Interface Technologies
|
'\"
|
'\"
|
'\" See the file "license.terms" for information on usage and redistribution
|
'\" See the file "license.terms" for information on usage and redistribution
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
'\"
|
'\"
|
'\" The file man.macros and some of the macros used by this file are
|
'\" The file man.macros and some of the macros used by this file are
|
'\" copyrighted: (c) 1990 The Regents of the University of California.
|
'\" copyrighted: (c) 1990 The Regents of the University of California.
|
'\" (c) 1994-1995 Sun Microsystems, Inc.
|
'\" (c) 1994-1995 Sun Microsystems, Inc.
|
'\" The license terms of the Tcl/Tk distrobution are in the file
|
'\" The license terms of the Tcl/Tk distrobution are in the file
|
'\" license.tcl.
|
'\" license.tcl.
|
.so man.macros
|
.so man.macros
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.HS tixControl tix 4.0
|
.HS tixControl tix 4.0
|
.BS
|
.BS
|
'
|
'
|
'
|
'
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.SH NAME
|
.SH NAME
|
tixControl \- Create and manipulate tixControl widgets
|
tixControl \- Create and manipulate tixControl widgets
|
'
|
'
|
'
|
'
|
'
|
'
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.SH SYNOPSIS
|
.SH SYNOPSIS
|
\fBtixControl\fI \fIpathName ?\fIoptions\fR?
|
\fBtixControl\fI \fIpathName ?\fIoptions\fR?
|
'
|
'
|
'
|
'
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.PP
|
.PP
|
.SH SUPER-CLASS
|
.SH SUPER-CLASS
|
The \fBTixControl\fR class is derived from the \fBTixLabelWidget\fR
|
The \fBTixControl\fR class is derived from the \fBTixLabelWidget\fR
|
class and inherits all the commands, options and subwidgets of its
|
class and inherits all the commands, options and subwidgets of its
|
super-class.
|
super-class.
|
'
|
'
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.SH "STANDARD OPTIONS"
|
.SH "STANDARD OPTIONS"
|
'
|
'
|
The Control widget supports all the standard options of a frame
|
The Control widget supports all the standard options of a frame
|
widget. See the \fBoptions(n)\fR manual entry for details on the
|
widget. See the \fBoptions(n)\fR manual entry for details on the
|
standard options.
|
standard options.
|
'
|
'
|
'
|
'
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.SH "WIDGET-SPECIFIC OPTIONS"
|
.SH "WIDGET-SPECIFIC OPTIONS"
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBallowEmpty\fR
|
Name: \fBallowEmpty\fR
|
Class: \fBAllowEmpty\fR
|
Class: \fBAllowEmpty\fR
|
Switch: \fB\-allowempty\fR
|
Switch: \fB\-allowempty\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies whether the Control widget should allow the empty string
|
Specifies whether the Control widget should allow the empty string
|
as a valid input.
|
as a valid input.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBautorepeat\fR
|
Name: \fBautorepeat\fR
|
Class: \fBAutoRepeat\fR
|
Class: \fBAutoRepeat\fR
|
Switch: \fB\-autorepeat\fR
|
Switch: \fB\-autorepeat\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies whether the Control widget should have autorepeat behavior.
|
Specifies whether the Control widget should have autorepeat behavior.
|
If set to be "true", the value of the Control widget will be
|
If set to be "true", the value of the Control widget will be
|
automatically incremented or decremented when the user holds down the
|
automatically incremented or decremented when the user holds down the
|
mouse button over the arrow buttons. Only values "true" and
|
mouse button over the arrow buttons. Only values "true" and
|
"false" will be recognized.
|
"false" will be recognized.
|
'----------END
|
'----------END
|
'
|
'
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBcommand\fR
|
Name: \fBcommand\fR
|
Class: \fBCommand\fR
|
Class: \fBCommand\fR
|
Switch: \fB\-command\fR
|
Switch: \fB\-command\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies the command to be called when the \fB\-value\fR option of
|
Specifies the command to be called when the \fB\-value\fR option of
|
the Control widget is changed. The command will be called with one
|
the Control widget is changed. The command will be called with one
|
arguments -- the new value of the Control widget.
|
arguments -- the new value of the Control widget.
|
'----------END
|
'----------END
|
'
|
'
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBdecrCmd\fR
|
Name: \fBdecrCmd\fR
|
Class: \fBDecrCmd\fR
|
Class: \fBDecrCmd\fR
|
Switch: \fB\-decrcmd\fR
|
Switch: \fB\-decrcmd\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies a TCL command to be called when the the user presses the
|
Specifies a TCL command to be called when the the user presses the
|
down-arrow button subwidget. This command is called with one parameter
|
down-arrow button subwidget. This command is called with one parameter
|
-- the current \fB\-value\fR of this Control widget. This
|
-- the current \fB\-value\fR of this Control widget. This
|
command is to decrement this value by one step, according to its own
|
command is to decrement this value by one step, according to its own
|
definition of "decrement", and return the decremented value, which
|
definition of "decrement", and return the decremented value, which
|
will be stored in the \fB\-value\fR of this Control widget.
|
will be stored in the \fB\-value\fR of this Control widget.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBdisableCallback\fR
|
Name: \fBdisableCallback\fR
|
Class: \fBDisableCallback\fR
|
Class: \fBDisableCallback\fR
|
Switch: \fB\-disablecallback\fR
|
Switch: \fB\-disablecallback\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
A boolean value indicating whether callbacks should be disabled. When
|
A boolean value indicating whether callbacks should be disabled. When
|
set to true, the TCL command specified by the \fB\-command\fR option
|
set to true, the TCL command specified by the \fB\-command\fR option
|
is not executed when the \fB\-value\fR of the Control widget
|
is not executed when the \fB\-value\fR of the Control widget
|
changes.
|
changes.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBdisableForeground\fR
|
Name: \fBdisableForeground\fR
|
Class: \fBDisableForeground\fR
|
Class: \fBDisableForeground\fR
|
Switch: \fB\-disableforeground\fR
|
Switch: \fB\-disableforeground\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
The foreground color to use for of the entry subwidget when the
|
The foreground color to use for of the entry subwidget when the
|
Control widget is disabled.
|
Control widget is disabled.
|
'----------END
|
'----------END
|
'
|
'
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBincrCmd\fR
|
Name: \fBincrCmd\fR
|
Class: \fBIncrCmd\fR
|
Class: \fBIncrCmd\fR
|
Switch: \fB\-incrcmd\fR
|
Switch: \fB\-incrcmd\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies a TCL command to be called when the the user presses the
|
Specifies a TCL command to be called when the the user presses the
|
up-arrow button subwidget. This command is called with one parameter
|
up-arrow button subwidget. This command is called with one parameter
|
-- the current \fB\-value\fR of this Control widget. This
|
-- the current \fB\-value\fR of this Control widget. This
|
command is to increment this value by one step, according to its own
|
command is to increment this value by one step, according to its own
|
definition of "increment", and return the incremented value, which
|
definition of "increment", and return the incremented value, which
|
will be stored in the \fB\-value\fR of this Control widget.
|
will be stored in the \fB\-value\fR of this Control widget.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBinitwait\fR
|
Name: \fBinitwait\fR
|
Class: \fBInitwait\fR
|
Class: \fBInitwait\fR
|
Switch: \fB\-initwait\fR
|
Switch: \fB\-initwait\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies how long the Control widget should wait initially before
|
Specifies how long the Control widget should wait initially before
|
it starts to automatically increment or decrement its value in the
|
it starts to automatically increment or decrement its value in the
|
autorepeat mode. In milliseconds.
|
autorepeat mode. In milliseconds.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBinteger\fR
|
Name: \fBinteger\fR
|
Class: \fBInteger\fR
|
Class: \fBInteger\fR
|
Switch: \fB\-integer\fR
|
Switch: \fB\-integer\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
A Boolean value specifying whether only integer numbers are accepted.
|
A Boolean value specifying whether only integer numbers are accepted.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBlabel\fR
|
Name: \fBlabel\fR
|
Class: \fBLabel\fR
|
Class: \fBLabel\fR
|
Switch: \fB\-label\fR
|
Switch: \fB\-label\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies the string to display as the label of this Control widget.
|
Specifies the string to display as the label of this Control widget.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBlabelSide\fR
|
Name: \fBlabelSide\fR
|
Class: \fBLabelSide\fR
|
Class: \fBLabelSide\fR
|
Switch: \fB\-labelside\fR
|
Switch: \fB\-labelside\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies where the label should be displayed relative to the entry
|
Specifies where the label should be displayed relative to the entry
|
subwidget. Valid options are: \fBtop\fR, \fBleft\fR, \fBright\fR,
|
subwidget. Valid options are: \fBtop\fR, \fBleft\fR, \fBright\fR,
|
\fBbottom\fR, \fBnone\fR or \fBacrosstop\fR.
|
\fBbottom\fR, \fBnone\fR or \fBacrosstop\fR.
|
'----------END
|
'----------END
|
'
|
'
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBmax\fR
|
Name: \fBmax\fR
|
Class: \fBMax\fR
|
Class: \fBMax\fR
|
Switch: \fB\-max\fR
|
Switch: \fB\-max\fR
|
Alias: \fB\-ulimit\fR
|
Alias: \fB\-ulimit\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies the upper limit of the value of the Control widget. When set
|
Specifies the upper limit of the value of the Control widget. When set
|
to empty string, the Control widget has no upper limit.
|
to empty string, the Control widget has no upper limit.
|
'----------END
|
'----------END
|
''
|
''
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBmin\fR
|
Name: \fBmin\fR
|
Class: \fBMin\fR
|
Class: \fBMin\fR
|
Switch: \fB\-min\fR
|
Switch: \fB\-min\fR
|
Alias: \fB\-llimit\fR
|
Alias: \fB\-llimit\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies the lower limit of the value of the Control widget.When set
|
Specifies the lower limit of the value of the Control widget.When set
|
to empty string, the Control widget has no lower limit.
|
to empty string, the Control widget has no lower limit.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBrepeatRate\fR
|
Name: \fBrepeatRate\fR
|
Class: \fBRepeatRate\fR
|
Class: \fBRepeatRate\fR
|
Switch: \fB\-repeatrate\fR
|
Switch: \fB\-repeatrate\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies how often the value of the Control widget should be
|
Specifies how often the value of the Control widget should be
|
incremented or decremented when it is in the autorepeat mode. In
|
incremented or decremented when it is in the autorepeat mode. In
|
milliseconds.
|
milliseconds.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBselectMode\fR
|
Name: \fBselectMode\fR
|
Class: \fBSelectMode\fR
|
Class: \fBSelectMode\fR
|
Switch: \fB\-selectmode\fR
|
Switch: \fB\-selectmode\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies how the Control widget should react to \fC\fR
|
Specifies how the Control widget should react to \fC\fR
|
events. When set to "immediate", any user keyboard inputs will
|
events. When set to "immediate", any user keyboard inputs will
|
immediately change the \fB\-value\fR option. When set to "normal", the
|
immediately change the \fB\-value\fR option. When set to "normal", the
|
user keyboard inputs will be copied to the \fB\-value\fR option only
|
user keyboard inputs will be copied to the \fB\-value\fR option only
|
if the\fC \fR key is pressed or the keyboard focus is
|
if the\fC \fR key is pressed or the keyboard focus is
|
changed. The use of the immediate mode is discouraged. For effective
|
changed. The use of the immediate mode is discouraged. For effective
|
use of the Control widget, one should use the normal mode together
|
use of the Control widget, one should use the normal mode together
|
with the \fBupdate\fR widget command (see below).
|
with the \fBupdate\fR widget command (see below).
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBstate\fR
|
Name: \fBstate\fR
|
Class: \fBState\fR
|
Class: \fBState\fR
|
Switch: \fB\-state\fR
|
Switch: \fB\-state\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies the whether the Control widget is normal or
|
Specifies the whether the Control widget is normal or
|
disabled. Only the values "normal" and "disabled" are recognized.
|
disabled. Only the values "normal" and "disabled" are recognized.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBstep\fR
|
Name: \fBstep\fR
|
Class: \fBStep\fR
|
Class: \fBStep\fR
|
Switch: \fB\-step\fR
|
Switch: \fB\-step\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies by how much the value of the Control widget should be
|
Specifies by how much the value of the Control widget should be
|
incremented or decrmented when the user press the arrow buttons.
|
incremented or decrmented when the user press the arrow buttons.
|
'----------END
|
'----------END
|
'
|
'
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBvalidateCmd\fR
|
Name: \fBvalidateCmd\fR
|
Class: \fBValidateCmd\fR
|
Class: \fBValidateCmd\fR
|
Switch: \fB\-validatecmd\fR
|
Switch: \fB\-validatecmd\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies a TCL command to be called when the -value of the
|
Specifies a TCL command to be called when the -value of the
|
Control widget is about to change. This command is called
|
Control widget is about to change. This command is called
|
with one parameter -- the new \fB\-value\fR entered by the user. This
|
with one parameter -- the new \fB\-value\fR entered by the user. This
|
command is to validate this new value by returning a value it deems
|
command is to validate this new value by returning a value it deems
|
valid.
|
valid.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBvalue\fR
|
Name: \fBvalue\fR
|
Class: \fBValue\fR
|
Class: \fBValue\fR
|
Switch: \fB\-value\fR
|
Switch: \fB\-value\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies the value of the Control widget.
|
Specifies the value of the Control widget.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBvariable\fR
|
Name: \fBvariable\fR
|
Class: \fBVariable\fR
|
Class: \fBVariable\fR
|
Switch: \fB\-variable\fR
|
Switch: \fB\-variable\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
Specifies the global variable in which the value of the
|
Specifies the global variable in which the value of the
|
Control widget should be stored. The value of the Control widget
|
Control widget should be stored. The value of the Control widget
|
will be automatically updated when this variable is changed.
|
will be automatically updated when this variable is changed.
|
'----------END
|
'----------END
|
'
|
'
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.SH SUBWIDGETS
|
.SH SUBWIDGETS
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBdecr\fR
|
Name: \fBdecr\fR
|
Class: \fBButton\fR
|
Class: \fBButton\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
The down arrow button.
|
The down arrow button.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBentry\fR
|
Name: \fBentry\fR
|
Class: \fBEntry\fR
|
Class: \fBEntry\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
The entry that shows the value of this Control widget.
|
The entry that shows the value of this Control widget.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBincr\fR
|
Name: \fBincr\fR
|
Class: \fBButton\fR
|
Class: \fBButton\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
The up arrow button.
|
The up arrow button.
|
'----------END
|
'----------END
|
'
|
'
|
'----------BEGIN
|
'----------BEGIN
|
.LP
|
.LP
|
.nf
|
.nf
|
Name: \fBlabel\fR
|
Name: \fBlabel\fR
|
Class: \fBLabel\fR
|
Class: \fBLabel\fR
|
.fi
|
.fi
|
.IP
|
.IP
|
The label subwidget.
|
The label subwidget.
|
'----------END
|
'----------END
|
'
|
'
|
.BE
|
.BE
|
'
|
'
|
'
|
'
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.SH DESCRIPTION
|
.SH DESCRIPTION
|
'
|
'
|
.PP
|
.PP
|
'
|
'
|
The \fBtixControl\fR command creates a new window (given by the
|
The \fBtixControl\fR command creates a new window (given by the
|
\fIpathName\fR argument) and makes it into a Control widget.
|
\fIpathName\fR argument) and makes it into a Control widget.
|
Additional options, described above, may be specified on the command
|
Additional options, described above, may be specified on the command
|
line or in the option database to configure aspects of the
|
line or in the option database to configure aspects of the
|
Control widget such as its cursor and relief.
|
Control widget such as its cursor and relief.
|
|
|
The Control widget is also known as the \fBSpinBox\fR widget.
|
The Control widget is also known as the \fBSpinBox\fR widget.
|
It is generally used to control a value. The user can adjust the value
|
It is generally used to control a value. The user can adjust the value
|
by pressing the two arrow buttons or by entering the value directly
|
by pressing the two arrow buttons or by entering the value directly
|
into the entry. The new value will be checked against the user-defined
|
into the entry. The new value will be checked against the user-defined
|
upper and lower limits.
|
upper and lower limits.
|
'
|
'
|
'
|
'
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.SH WIDGET COMMANDS
|
.SH WIDGET COMMANDS
|
.PP
|
.PP
|
'
|
'
|
The \fBtixControl\fR command creates a new Tcl command whose name is
|
The \fBtixControl\fR command creates a new Tcl command whose name is
|
the same as the path name of the Control widget's window. This
|
the same as the path name of the Control widget's window. This
|
command may be used to invoke various operations on the widget. It has
|
command may be used to invoke various operations on the widget. It has
|
the following general form:
|
the following general form:
|
'
|
'
|
.DS C
|
.DS C
|
'
|
'
|
\fIpathName option \fR?\fIarg arg ...\fR?
|
\fIpathName option \fR?\fIarg arg ...\fR?
|
.PP
|
.PP
|
.DE
|
.DE
|
'
|
'
|
\fIPathName\fR is the name of the command, which is the same as the
|
\fIPathName\fR is the name of the command, which is the same as the
|
Control widget's path name. \fIOption\fR and the \fIarg\fRs
|
Control widget's path name. \fIOption\fR and the \fIarg\fRs
|
determine the exact behavior of the command. The following commands
|
determine the exact behavior of the command. The following commands
|
are possible for Control widgets:
|
are possible for Control widgets:
|
'
|
'
|
.TP
|
.TP
|
\fIpathName \fBcget\fR \fIoption\fR
|
\fIpathName \fBcget\fR \fIoption\fR
|
'
|
'
|
Returns the current value of the configuration option given by
|
Returns the current value of the configuration option given by
|
\fIoption\fR. \fIOption\fR may have any of the values accepted by the
|
\fIoption\fR. \fIOption\fR may have any of the values accepted by the
|
\fBtixControl\fR command.
|
\fBtixControl\fR command.
|
'
|
'
|
'
|
'
|
.TP
|
.TP
|
'
|
'
|
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
|
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
|
'
|
'
|
Query or modify the configuration options of the widget. If no
|
Query or modify the configuration options of the widget. If no
|
\fIoption\fR is specified, returns a list describing all of the
|
\fIoption\fR is specified, returns a list describing all of the
|
available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
|
available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
|
information on the format of this list). If \fIoption\fR is specified
|
information on the format of this list). If \fIoption\fR is specified
|
with no \fIvalue\fR, then the command returns a list describing the
|
with no \fIvalue\fR, then the command returns a list describing the
|
one named option (this list will be identical to the corresponding
|
one named option (this list will be identical to the corresponding
|
sublist of the value returned if no \fIoption\fR is specified). If
|
sublist of the value returned if no \fIoption\fR is specified). If
|
one or more \fIoption\-value\fR pairs are specified, then the command
|
one or more \fIoption\-value\fR pairs are specified, then the command
|
modifies the given widget option(s) to have the given value(s); in
|
modifies the given widget option(s) to have the given value(s); in
|
this case the command returns an empty string. \fIOption\fR may have
|
this case the command returns an empty string. \fIOption\fR may have
|
any of the values accepted by the \fBtixControl\fR command.
|
any of the values accepted by the \fBtixControl\fR command.
|
'
|
'
|
.TP
|
.TP
|
\fIpathName \fBdecr\fR
|
\fIpathName \fBdecr\fR
|
'
|
'
|
Decrements the value of the Control widget by the step specified
|
Decrements the value of the Control widget by the step specified
|
by the \fI\-step\fR option.
|
by the \fI\-step\fR option.
|
'
|
'
|
'
|
'
|
.TP
|
.TP
|
\fIpathName \fBincr\fR
|
\fIpathName \fBincr\fR
|
'
|
'
|
Increments the value of the Control widget by the step
|
Increments the value of the Control widget by the step
|
specified by the \fI\-step\fR option.
|
specified by the \fI\-step\fR option.
|
'
|
'
|
'
|
'
|
.TP
|
.TP
|
\fIpathName \fBinvoke\fR
|
\fIpathName \fBinvoke\fR
|
'
|
'
|
Causes the command specified by the \fI\-command\fR option to be
|
Causes the command specified by the \fI\-command\fR option to be
|
invoked.
|
invoked.
|
'
|
'
|
.TP
|
.TP
|
\fIpathName \fBupdate\fR
|
\fIpathName \fBupdate\fR
|
'
|
'
|
If the user has modified the entry using keyboard inputs, the update
|
If the user has modified the entry using keyboard inputs, the update
|
command will \fBupdate\fR the \fB\-value\fR of this Control
|
command will \fBupdate\fR the \fB\-value\fR of this Control
|
widget. When the Control widget's \fB\-selectmode\fR option is set to
|
widget. When the Control widget's \fB\-selectmode\fR option is set to
|
"normal", one should call the \fBupdate\fR command on this widget
|
"normal", one should call the \fBupdate\fR command on this widget
|
before examining its \fB\-value\fR option. This command has no effect
|
before examining its \fB\-value\fR option. This command has no effect
|
in if the \fB\-selectmode\fR option is set to "immediate".
|
in if the \fB\-selectmode\fR option is set to "immediate".
|
'
|
'
|
.TP
|
.TP
|
\fIpathName \fBsubwidget \fI name ?args?\fR
|
\fIpathName \fBsubwidget \fI name ?args?\fR
|
'
|
'
|
When no options are given, this command returns the pathname of the
|
When no options are given, this command returns the pathname of the
|
subwidget of the specified name.
|
subwidget of the specified name.
|
|
|
When options are given, the widget command of the specified subwidget
|
When options are given, the widget command of the specified subwidget
|
will be called with these options.
|
will be called with these options.
|
'
|
'
|
'
|
'
|
'
|
'
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.SH BINDINGS
|
.SH BINDINGS
|
.PP
|
.PP
|
'
|
'
|
When the user presses the up/down arrow buttons (or press the and
|
When the user presses the up/down arrow buttons (or press the and
|
arrow keys on the keyboard), the value of the tixControl widget
|
arrow keys on the keyboard), the value of the tixControl widget
|
is adjusted according to the \fB\-validatecmd\fR, \fB\-incrcmd\fR,
|
is adjusted according to the \fB\-validatecmd\fR, \fB\-incrcmd\fR,
|
\fB\-decrcmd\fR, \fB\-step\fR, \fB\-max\fR and \fB\-min\fR options.
|
\fB\-decrcmd\fR, \fB\-step\fR, \fB\-max\fR and \fB\-min\fR options.
|
'
|
'
|
'
|
'
|
'----------------------------------------------------------------------
|
'----------------------------------------------------------------------
|
.SH KEYWORDS
|
.SH KEYWORDS
|
Tix(n)
|
Tix(n)
|
|
|