![]() |
ActiveTcl User Guide
|
![]() |
iwidgets::timeentry - Create and manipulate a timeentry widget
iwidgets::timeentry pathName ?options?
itk::Widget <- iwidgets::LabeledWidget <-
iwidgets::Timefield <- iwidgets::Timeentry
background borderWidth cursor exportSelection foreground highlightColor highlightThickness insertBackground
options.
inherited options.
command format seconds textBackground
textFont
inherited options.
hourRadius hourColor minuteRadius
minuteColor pivotRadius pivotColor
secondRadius secondColor clockColor
clockStipple tickColor watchHeight
watchWidth
options.
watch popup. The default is Close.
bringing up the popup watch. The default is global. For more information concerning grab levels, consult the documentation for
image must have been created previously with the image
create command. Should one not be provided, then one will be
generated, pixmap if possible, bitmap otherwise.
mal. A disabled state prevents selection of the timefield
or time icon button.
_________________________________________________________________
popup watch by combining the timefield and watch widgets together. This allows a user to enter the time via the keyboard or by using the mouse and selecting the watch icon which brings up a popup watch.
name is pathName. This command may be used to invoke various operations on the widget. It has the following general form:
pathName option ?arg arg ...?
methods.
pathName cget option
option. Option may have any of the values accepted
by the iwid- gets::timeentry 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::timeentry command.
tify the time. See the «label» widget manual entry
for details on the label component item.
as a lightweight button displaying the watch icon. Upon pressing the labelbutton, the watch appears. See the «label» widget man- ual entry for details on the labelbutton component item.
display. See the «entry» widget manual entry for details on the time component item.
package require Iwidgets 4.0
iwidgets::timeentry .te
pack .te
timeentry, widget