| 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

Pushbutton

The pushbutton iwidget offers the standard Tk button widget with the ability to display as a default button with a recessed ring. The primary use for the Pushbutton is as a child of the Buttonbox class. In addition to furnishing the standard methods and options for Tk button, the Pushbutton provides options for enabling/disabling the display of the default ring and geometry requirements. For further information, see the Pushbutton manpage

Components: hull pushbutton
				

wm title . "Pushbutton Example"

##=========================================================
##	Create a pushbutton iwidget
##=========================================================
##
iwidgets::pushbutton .pb \
	-text "Go ahead, hit me..." \
	-command {puts OUCH!!} \
	-defaultring 1

pack .pb \
	-padx 12 \
	-pady 12


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