URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [insight/] [itcl/] [iwidgets3.0.0/] [demos/] [extfileselectiondialog] - Rev 1765
Compare with Previous | Blame | View Log
#!/bin/sh
# ----------------------------------------------------------------------
# DEMO: extfileselectiondialog in [incr Widgets]
# ----------------------------------------------------------------------
#\
exec itkwish "$0" ${1+"$@"}
package require Iwidgets 3.0
iwidgets::extfileselectiondialog .efsd -modality application
button .select -text "Files..." -command {
if {[.efsd activate]} {
puts "selected: [.efsd get]"
} else {
puts ""
}
}
pack .select -side left