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