arduino-0018-windows
This commit is contained in:
parent
157fd6f1a1
commit
f39fc49523
5182 changed files with 950586 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
# ----------------------------------------------------------------------
|
||||
# DEMO: messagedialog in [incr Widgets]
|
||||
# ----------------------------------------------------------------------
|
||||
package require Iwidgets 4.0
|
||||
|
||||
button .b -text "Confirm..." -command {
|
||||
if {[.md activate]} {
|
||||
puts "selected: Yes"
|
||||
} else {
|
||||
puts "selected: No"
|
||||
}
|
||||
}
|
||||
pack .b
|
||||
|
||||
iwidgets::messagedialog .md -title "Message Dialog" -modality application \
|
||||
-bitmap questhead -text "Are you sure?"
|
||||
|
||||
.md hide Help
|
||||
.md buttonconfigure OK -text "Yes"
|
||||
.md buttonconfigure Cancel -text "No"
|
Reference in a new issue