| 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

Messagedialog

The messagedialog iwidget provides a bitmap and message text within a dialog context. Options control the position of the bitmap and message. All the standard dialog control options are also available. For further information, see the Messagedialog manpage

Components: bbox hull image message separator
				

wm title . "Messagedialog Example"

##=========================================================
##	Create a messagedialog iwidget
##=========================================================
##
iwidgets::messagedialog .md -title Copyright \
	-text "Using iwidgets can be fun!"

##
##	get rid of 2 buttons
##
.md hide Apply
.md hide Help

##
##	Configure image 
##
set img [image create photo -file tcl_logo.gif]
.md configure \
	-image $img

##
##	change the relief of the image
##
.md component image configure \
	-relief groove

##
##	Change the text of the first button
##
.md buttonconfigure 0 \
	-text "Continue"

.md activate
update

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