1iwidgets::extfileselectiondialog − Create and manipulate a file
2selection dialog widget iwidgets::extfileselectiondialog pathName
3?options? itk::Toplevel <‐ iwidgets::Shell <‐ iwidgets::Di‐
4alogshell <‐ iwidgets::Dialog <‐ iwidgets::Extfileselectiondialog
9See the "options" manual entry for details on the standard op‐
10tions.
12See the "combobox" widget manual entry for details on the above
13associated options.
19See the "extfileselectionbox" widget manual entry for details on
20the above associated options.
22See the "labeledwidget" widget manual entry for details on the
23above associated options.
25See the "panedwindow" widget manual entry for details on the
26above associated options.
28See the "labeledwidget" widget manual entry for details on the
29above associated options.
31See the "scrollbar" widget class manual entry for details on the
32above associated options.
34See the "scrolledlistbox" widget manual entry for details on the
35above associated options.
36
39See the "dialogshell" widget manual entry for details on the
40above inherited options.
42See the "shell" widget manual entry for details on the above in‐
43herited options.
45See the "Toplevel" widget manual entry for details on the above
46inherited options.
47
48The iwidgets::extfileselectiondialog command creates an extended
49file selection dialog which is slightly different than the files‐
50electiondialog widget. The differences are mostly cosmetic in
51that the listboxes are within a panedwindow and the entryfields
52for the filter and selection have been replaced by comboboxes.
53Other than that the interface is practically the same.
54
55The iwidgets::extfileselectiondialog command creates a new Tcl
56command whose name is pathName. This command may be used to in‐
57voke various operations on the widget. It has the following gen‐
58eral form: pathName option ?arg arg ...? Option and the args de‐
59termine the exact behavior of the command. The following com‐
60mands are possible for extfileselectiondialog widgets:
62See the "fileselectionbox" class manual entry for details on the
63associated methods.
66See the "buttonbox" widget manual entry for details on the above
67inherited methods.
69See the "shell" widget manual entry for details on the above in‐
70herited methods.
71
73tion option given by option. Option may have any of the values
74accepted by the iwidgets::extfileselectiondialog command. path‐
76the configuration options of the widget. If no option is speci‐
77fied, returns a list describing all of the available options for
79this list). If option is specified with no value, then the com‐
80mand returns a list describing the one named option (this list
81will be identical to the corresponding sublist of the value re‐
82turned if no option is specified). If one or more option−value
83pairs are specified, then the command modifies the given widget
84option(s) to have the given value(s); in this case the command
85returns an empty string. Option may have any of the values ac‐
86cepted by the iwidgets::extfileselectiondialog command.
87
88Name: fsb
89Class: Fileselectionbox
90The fsb component is the extfileselectionbox for the extfilese‐
91lectiondialog. See the "extfileselectionbox" widget manual entry
92for details on the fsb component item.
93
94 package require Iwidgets 4.0
95 #
96 # Non‐modal example
97 #
98 proc okCallback {} {
99 puts "You selected [.nmfsd get]"
100 .nmfsd deactivate
101 }
102
103 iwidgets::extfileselectiondialog .nmfsd ‐title Non‐Modal
104 .nmfsd buttonconfigure OK ‐command okCallback
105
106 .nmfsd activate
107
108 #
109 # Modal example
110 #
111 iwidgets::extfileselectiondialog .mfsd ‐modality application
112 .mfsd center
113
114 if {[.mfsd activate]} {
115 puts "You selected [.mfsd get]"
116 } else {
117 puts "You cancelled the dialog"
118 } Mark L. Ulferts Anthony L. Parent extfileselectiondialog,
119extfileselectionbox, dialog, dialogshell, shell, widget
120
121
122
123
124
125
126
127
128
129
130
131
132