1iwidgets::dateentry  −  Create  and manipulate a dateentry widget

iwidgets::dateentry pathName ?options? itk::Widget <‐ iwid‐

3gets::LabeledWidget <‐ iwidgets::Datefield <‐ iwidgets::Dateentry

background borderWidth cursor exportSelection

foreground highlightColor highlightThickness insertBackground

justify relief

7See  the  "options"  manual entry for details on the standard op‐
8tions.

disabledForeground int labelBitmap labelFont

labelImage labelMargin labelPos labelText

labelVariable state sticky

12See the "labeledwidget" class manual entry for details  on  these
13inherited options.

command iq state textBackground

textFont

16See  the  "datefield" class manual entry for details on these in‐
17herited options.

backwardImage buttonForeground commandcurrentDateFont

dateFont dayFont days forwardImage

outline selectColor selectThickness startDay

titleFont weekdayBackground weekendBackground

22See the "calendar" manual entry for details on the associated op‐
23tions.
24Name:           grab
25Class:          Grab
26Command‐Line Switch:           ‐grab
27Specifies  the grab level, local or global, to be obtained before
28bringing up the popup calendar.  The default is global.  For more
29information concerning grab levels, consult the documentation for
30Tk’s grab command.
31Name:           icon
32Class:          Icon
33Command‐Line Switch:           ‐icon
34Specifies the calendar icon image to be used  in  the  dateentry.
35This  image must have been created previously with the image cre‐

ate command. Should one not be provided, then one will be gener‐

37ated, pixmap if possible, bitmap otherwise.
38
39The  iwidgets::dateentry command creates a quicken style date en‐
40try field with a popup calendar by combining  the  datefield  and
41calendar  widgets together.  This allows a user to enter the date
42via the keyboard or by using the mouse and selecting the calendar
43icon which brings up a popup calendar.
44
45The  iwidgets::dateentry  command creates a new Tcl command whose
46name is pathName.  This command may be used to invoke various op‐
47erations on the widget.  It has the following general form: path‐

Name option ?arg arg ...? Option and the args determine the ex‐

49act behavior of the command.  The following commands are possible
50for dateentry widgets:

get isvalid show

52See the "datefield" manual entry for details  on  the  associated
53methods.   pathName  cget option Returns the current value of the
54configuration option given by option.  Option may have any of the
55values  accepted  by  the  iwidgets::dateentry command.  pathName

configure ?option? ?value option value ...? Query or modify the

57configuration  options of the widget.  If no option is specified,
58returns a list describing all of the available options for  path‐

Name (see Tk_ConfigureInfo for information on the format of this

60list).  If option is specified with no value,  then  the  command
61returns a list describing the one named option (this list will be
62identical to the corresponding sublist of the value  returned  if
63no  option  is specified).  If one or more option−value pairs are
64specified, then the command modifies the given  widget  option(s)
65to  have the given value(s);  in this case the command returns an
66empty string.  Option may have any of the values accepted by  the

iwidgets::dateentry command.

68
69Name:           label
70Class:          Label
71The label component provides a label component to used to identi‐
72fy the date.  See the "label" widget manual entry for details  on
73the label component item.
74Name:           iconbutton
75Class:          Label
76The  iconbutton component provides a labelbutton component to act
77as a lightweight  button  displaying  the  calendar  icon.   Upon
78pressing  the labelbutton, the calendar appears.  See the "label"
79widget manual entry for  details  on  the  labelbutton  component
80item.
81Name:           date
82Class:          Entry
83The  date  component  provides the entry field for date input and
84display.  See the "entry" widget manual entry for details on  the
85date component item.
86
87 package require Iwidgets 4.0
88 iwidgets::dateentry .de
89 pack .de Mark L. Ulferts dateentry, widget
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Impressum