| Itcl  | Itk  | Itcl @ Wiki  | Itcl @ SF  | Tcl  | Tcl @ Wiki |
  home || iwidgets || man pages cross ref distribution docs faq  
buttonbox
calendar
canvasprintbox
canvasprintdialog
checkbox
combobox
dateentry
datefield
dialog
dialogshell
disjointlistbox
entryfield
extbutton
extfileselectionbox
extfileselectiondialog
feedback
fileselectionbox
fileselectiondialog
finddialog
hierarchy
hyperhelp
labeledframe
labeledwidget
mainwindow
menubar
messagebox
messagedialog
notebook
optionmenu
panedwindow
promptdialog
pushbutton
radiobox
regexpfield
scrolledcanvas
scrolledframe
scrolledhtml
scrolledlistbox
scrolledtext
scrolledwidget
selectionbox
selectiondialog
shell
spindate
spinint
spinner
spintime
tabnotebook
tabset
timeentry
timefield
toolbar
watch

man page | options | methods

Timeentry

The timeentry iwidget consists of a specialized entry widget and a popup watch, that is invoked by an icon next to the entry widget. The time can be entered directly in the entry or by using the watch to specify the time. Using button 1, the watch can be moved to the desired time, and when the watch is closed, the entry field is updated with the time. The programmer can use the show and get public methods to work with the iwidget. The Timeentry iwidget inherits from the Timefield iwidget, so the methods and options from the Timefield can be used as well. For further information, see the Timeentry manpage

Components: hull iconbutton label time
				

wm title . "Timeentry Example"

##=========================================================
##	Create a Timeentry iwidget
##=========================================================
##
iwidgets::timeentry .te \
  -labeltext "Departure Time:" \
  -textbackground #82E6C8 \
  -textfont {lucida 14 bold} \
  -format military \
  -grab local

pack .te \
  -fill both \
  -expand true

Download this sample code
man page | options | methods
 
  home || iwidgets || man pages cross ref distribution docs faq  
Copyright | Contributions | Development Team | Credits
Bugs/Comments/Suggestions about this web site