![]() |
ActiveTcl User Guide
|
![]() |
iwidgets::dateentry - Create and manipulate a dateentry widget
iwidgets::dateentry pathName ?options?
itk::Widget <- iwidgets::LabeledWidget <-
iwidgets::Datefield <- iwidgets::Dateentry
background borderWidth cursor exportSelection foreground highlightColor highlightThickness insertBackground
options.
disabledForeground int labelBitmap labelFont
inherited options.
command iq state textBackground
textFont
inherited options.
backwardImage buttonForeground commandcurrentDateFont dateFont dayFont days forwardImage
options.
bringing up the popup calendar. The default is global. For more information concerning grab levels, consult the documentation for
ate command. Should one not be provided, then one will be
gener- ated, pixmap if possible, bitmap otherwise.
_________________________________________________________________
entry field with a popup calendar by combining the datefield and calendar widgets together. This allows a user to enter the date via the keyboard or by using the mouse and selecting the calendar icon which brings up a popup calendar.
name is pathName. This command may be used to invoke various operations on the widget. It has the following general form:
methods.
pathName cget option
option. Option may have any of the values accepted
by the iwid- gets::dateentry command.
pathName configure ?option? ?value
option value ...?
option is specified, returns a list describing all of the avail- able options for pathName (see Tk_ConfigureInfo for information on the format of this list). If 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 iwidgets::dateentry command.
tify the date. See the «label» widget manual entry
for details on the label component item.
as a lightweight button displaying the calendar icon. Upon
pressing the labelbutton, the calendar appears. See the
«label" widget manual entry for details on the labelbutton
component item.
display. See the «entry» widget manual entry for details on the date component item.
package require Iwidgets 4.0
iwidgets::dateentry .de
pack .de
dateentry, widget