| 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

Spintime

The spintime iwidget is simiar to the spindate class supporting time entry rather than date. The three spinners are hour, minute, and second. For further information, see the Spintime manpage

Components: hour hull minute second
				

wm title . "Spintime Example"

##=========================================================
##	Create a spintime iwidget
##=========================================================
##
iwidgets::spintime .st \
	-hourlabel "Enter the hour: " \
	-militaryon 1 \
	-minutelabel "Enter the minute: " \
	-secondlabel "Enter the second: " \
	-timemargin 2


pack .st

.st show "12 hours ago"

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