ActiveTcl User Guide
|
||
iwidgets::spindate pathName ?options? itk::Widget <- iwid- gets::Spindate
background cursor foreground relief
tions.
textBackground textFont
ciated options.
sociated options.
arrowOrient repeatDelay repeatInterval
ed options.
ners is any of the forms accpetable to Tcl_GetPixels. The
de- fault is 1 pixel.
is Day".
forms acceptable to Tcl_GetBoolean. The default is true.
ceptable to Tcl_GetPixels. The default is 3 pixels.
ous spinners: n, e, s, or w. The default is w.
strings (Jan - Dec), or full strings (January - December).
fault is Month".
the forms acceptable to Tcl_GetBoolean. The default is true.
ceptable to Tcl_GetPixels. The default is 3 pixels.
vertical or horizontal. The default is horizontal.
the year spinner. The valid values are 2 and 4. The default is
2.
fault is Year"
the forms acceptable to Tcl_GetBoolean. The default is true.
ceptable to Tcl_GetPixels. The default is 3 pixels. _________________________________________________________________
in date value entry. The set includes an month, day, and year 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::spindate 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::spindate command. pathName get ?format? Returns the cur- rent contents of the spindate 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 dates and their formats. pathName show date Changes the currently displayed date to be that of the date argument. The date may be specified ei- ther as a string, an integer clock value or the keyword now".
dates and their formats.
spinner. See the Spinner widget manual entry for details on the
month component item.
nent item.
ner. See the SpinInt widget manual entry fordetails on the year component item.
package require Iwidgets 4.0
iwidgets::spindate .sd
pack .sd -padx 10 -pady 10
widget