![]() |
ActiveTcl User Guide
|
![]() |
iwidgets::spintime pathName ?options? itk::Widget <- iwid- gets::Spintime
background cursor foreground relief
tions.
textBackground textFont
ciated options.
sociated options.
arrowOrient repeatDelay repeatInterval
ed options.
ous spinners: n, e, s, or w. The default is w.
fault is Hour".
the forms acceptable to Tcl_GetBoolean. The default is true.
ceptable to Tcl_GetPixels. The default is 3 pixels.
forms acceptable to Tcl_GetBoolean. The default is true.
fault is Minute".
the forms acceptable to Tcl_GetBoolean. The default is true.
ceptable to Tcl_GetPixels. The default is 3 pixels.
ners: vertical or horizontal. The default is horizontal.
fault is Second"
the forms acceptable to Tcl_GetBoolean. The default is true.
ceptable to Tcl_GetPixels. The default is 3 pixels.
spinners is any of the forms accpetable to Tcl_GetPixels.
The default is 1 pixel.
_________________________________________________________________
in time value entry. The set includes an hour, minute, and sec- ond spinner widget.
name is pathName. This command may be used to invoke various op- erations on the widget. It has the following general form:
pathName option ?arg arg ...?
pathName cget option Returns the current value of the configura- tion option given by option. Option may have any of the values accepted by the iwidgets::spintime command. pathName configure ?option? ?value option value ...? Query or modify the configura- tion options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see
option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the iwid*- gets::spintime command. pathName get ?format? Returns the cur- rent contents of the spintime widget in a format of string or as an integer clock value using the -string and -clicks format op- tions respectively. The default is by string. Reference the clock command for more information on obtaining time and its for- mats. pathName show time Changes the currently displayed time to be that of the time argument. The time may be specified either as a string, an integer clock value or the keyword now". Refer- ence the clock command for more information on obtaining times and its format.
the SpinInt widget manual entry for details on the hour
component item.
component item.
component item.
package require Iwidgets 4.0
iwidgets::spintime .st
pack .st -padx 10 -pady 10
widget