1tixFileSelectDialog(n) Tix Built-In Commands tixFileSelectDialog(n)
2
3
4
6 tixFileSelectDialog - Create and manipulate tixFileSelectDialog widgets
7
9 tixFileSelectDialog pathName ?options?
10
12 The TixFileSelectDialog class does not have a super-class.
13
15 TixFileSelectDialog supports all the standard options of a frame wid‐
16 get. See the options(n) manual entry for details on the standard
17 options.
18
20 [-command command] Specifies the command to be called when the user
21 chooses on a filename (usually by selecting the filename and clicking
22 on the "OK" button"). The command is called with one argument, the
23 complete pathname of the file.
24
26 Name: btns
27 Class: TixStdButtonBox
28
29 The StdButtonBox subwidget at the bottom of FileSelectDialog. It
30 contains the "OK", "Filter, "Cancel" and "Help" buttons.
31
32 Name: fsbox
33 Class: TixFileSelectBox
34
35 The FileSelectBox subwidget at the top of the FileSelectDialog.
36
38 The tixFileSelectDialog command creates a new window (given by the
39 pathName argument) and makes it into a FileSelectDialog widget. Addi‐
40 tional options, described above, may be specified on the command line
41 or in the option database to configure aspects of the FileSelectDialog
42 such as its cursor and relief.
43
44 The FileSelectDialog widget provides an convenient method for the user
45 to select files. The FileSelectBox is similar to the standard Motif(TM)
46 file-selection box.
47
49 The tixFileSelectDialog command creates a new Tcl command whose name is
50 the same as the path name of the FileSelectDialog's window. This com‐
51 mand may be used to invoke various operations on the widget. It has the
52 following general form:
53 pathName option ?arg arg ...?
54 PathName is the name of the command, which is the same as the FileSe‐
55 lectDialog widget's path name. Option and the args determine the exact
56 behavior of the command. The following commands are possible for FileS‐
57 electDialog widgets:
58
59 pathName cget option
60 Returns the current value of the configuration option given by
61 option. Option may have any of the values accepted by the tix‐
62 FileSelectDialog command.
63
64 pathName configure ?option? ?value option value ...?
65 Query or modify the configuration options of the widget. If no
66 option is specified, returns a list describing all of the avail‐
67 able options for pathName (see Tk_ConfigureInfo for information
68 on the format of this list). If option is specified with no
69 value, then the command returns a list describing the one named
70 option (this list will be identical to the corresponding sublist
71 of the value returned if no option is specified). If one or
72 more option-value pairs are specified, then the command modifies
73 the given widget option(s) to have the given value(s); in this
74 case the command returns an empty string. Option may have any
75 of the values accepted by the tixFileSelectDialog command.
76
77 pathName popdown
78 Withdraws the FileSelectDialog from the screen.
79
80 pathName popup
81 Pops up the FileSelectDialog on the screen.
82
83 pathName subwidget name ?args?
84 When no options are given, this command returns the pathname of
85 the subwidget of the specified name.
86
87 When options are given, the widget command of the specified sub‐
88 widget will be called with these options.
89
91 Tix(n)
92
93
94
95
96
97
98Tix 4.0 tixFileSelectDialog(n)