| 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

Shell

The shell iwidget is a base class widget. It contains a hull and a childsite, so that other widgets can be place inside. This is a toplevel widget, and is used by dialog boxes, mainwindow, and hyperhelp. It defines some basic window management function with window activation/deactivation and modality. This iwidget is used to derive other iwidgets, so this is seldom used as a general purpose iwidget. For further information, see the Shell manpage

Components: hull
				

##=========================================================
##	Create a Shell iwidget
##=========================================================
##
iwidgets::shell .s \
  -title "Shell Example" \
  -background ghostwhite

set cs [.s childsite]

label $cs.lbl \
  -text "This is a Shell Example"

pack $cs.lbl \
  -fill both \
  -expand true

.s activate

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