Debian Codegraph @

demos/extfileselectiondialog

raw
1 # ----------------------------------------------------------------------
2 # DEMO: extfileselectiondialog in [incr Widgets]
3 # ----------------------------------------------------------------------
4 package require Iwidgets 4.0
5
6 iwidgets::extfileselectiondialog .efsd -modality application
7
8 button .select -text "Files..." -command {
9 if {[.efsd activate]} {
10 puts "selected: [.efsd get]"
11 } else {
12 puts ""
13 }
14 }
15 pack .select -side left