arduino-0018-windows
This commit is contained in:
parent
157fd6f1a1
commit
f39fc49523
5182 changed files with 950586 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
# ----------------------------------------------------------------------
|
||||
# DEMO: promptdialog in [incr Widgets]
|
||||
# ----------------------------------------------------------------------
|
||||
package require Iwidgets 4.0
|
||||
|
||||
option add *textBackground seashell
|
||||
|
||||
button .b -text "Get Password..." -command {
|
||||
if {[.pd activate]} {
|
||||
puts "password: [.pd get]"
|
||||
} else {
|
||||
puts "cancelled"
|
||||
}
|
||||
}
|
||||
pack .b
|
||||
|
||||
iwidgets::promptdialog .pd -title "Prompt Dialog" -modality application \
|
||||
-labeltext "Password:" -show "*"
|
||||
|
||||
.pd hide Apply
|
||||
.pd hide Help
|
Reference in a new issue