1 |
578 |
markom |
'\"
|
2 |
|
|
'\" Copyright (c) 1996, Expert Interface Technologies
|
3 |
|
|
'\"
|
4 |
|
|
'\" See the file "license.terms" for information on usage and redistribution
|
5 |
|
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
6 |
|
|
'\"
|
7 |
|
|
'\" The file man.macros and some of the macros used by this file are
|
8 |
|
|
'\" copyrighted: (c) 1990 The Regents of the University of California.
|
9 |
|
|
'\" (c) 1994-1995 Sun Microsystems, Inc.
|
10 |
|
|
'\" The license terms of the Tcl/Tk distrobution are in the file
|
11 |
|
|
'\" license.tcl.
|
12 |
|
|
.so man.macros
|
13 |
|
|
'----------------------------------------------------------------------
|
14 |
|
|
.HS tixExFileSelectDialog tix 4.0
|
15 |
|
|
.BS
|
16 |
|
|
'
|
17 |
|
|
'
|
18 |
|
|
'----------------------------------------------------------------------
|
19 |
|
|
.SH NAME
|
20 |
|
|
tixExFileSelectDialog \- Create and manipulate tixExFileSelectDialog widgets
|
21 |
|
|
'
|
22 |
|
|
'
|
23 |
|
|
'
|
24 |
|
|
'----------------------------------------------------------------------
|
25 |
|
|
.SH SYNOPSIS
|
26 |
|
|
\fBtixExFileSelectDialog\fI \fIpathName ?\fIoptions\fR?
|
27 |
|
|
'
|
28 |
|
|
'
|
29 |
|
|
'----------------------------------------------------------------------
|
30 |
|
|
.PP
|
31 |
|
|
.SH SUPER-CLASS
|
32 |
|
|
The \fBTixExFileSelectDialog\fR class does not have a super-class.
|
33 |
|
|
'
|
34 |
|
|
'----------------------------------------------------------------------
|
35 |
|
|
.SH "STANDARD OPTIONS"
|
36 |
|
|
'
|
37 |
|
|
\fBTixExFileSelectDialog\fR supports all the standard options of a frame
|
38 |
|
|
widget. See the \fBoptions(n)\fR manual entry for details on the
|
39 |
|
|
standard options.
|
40 |
|
|
'
|
41 |
|
|
'
|
42 |
|
|
'----------------------------------------------------------------------
|
43 |
|
|
.SH "WIDGET-SPECIFIC OPTIONS"
|
44 |
|
|
'
|
45 |
|
|
'----------BEGIN
|
46 |
|
|
.LP
|
47 |
|
|
.nf
|
48 |
|
|
Name: \fBcommand\fR
|
49 |
|
|
Class: \fBCommand\fR
|
50 |
|
|
Switch: \fB\-command\fR
|
51 |
|
|
.fi
|
52 |
|
|
.IP
|
53 |
|
|
Specifies the command to be called when the user chooses on a filename
|
54 |
|
|
(usually by selecting the filename and clicking on the "OK" button").
|
55 |
|
|
The command is called with one argument, the complete pathname of the
|
56 |
|
|
file.
|
57 |
|
|
'----------END
|
58 |
|
|
'
|
59 |
|
|
'----------------------------------------------------------------------
|
60 |
|
|
.SH SUBWIDGETS
|
61 |
|
|
'----------BEGIN
|
62 |
|
|
.LP
|
63 |
|
|
.nf
|
64 |
|
|
Name: \fBfsbox\fR
|
65 |
|
|
Class: \fBTixExFileSelectBox\fR
|
66 |
|
|
.fi
|
67 |
|
|
.IP
|
68 |
|
|
The ExFileSelectBox subwidget embedded inside the ExFileSelectDialog.
|
69 |
|
|
'----------END
|
70 |
|
|
.BE
|
71 |
|
|
'
|
72 |
|
|
'
|
73 |
|
|
'----------------------------------------------------------------------
|
74 |
|
|
.SH DESCRIPTION
|
75 |
|
|
'
|
76 |
|
|
.PP
|
77 |
|
|
'
|
78 |
|
|
The \fBtixExFileSelectDialog\fR command creates a new window (given by
|
79 |
|
|
the \fIpathName\fR argument) and makes it into a ExFileSelectDialog
|
80 |
|
|
widget. Additional options, described above, may be specified on the
|
81 |
|
|
command line or in the option database to configure aspects of the
|
82 |
|
|
ExFileSelectDialog such as its cursor and relief.
|
83 |
|
|
|
84 |
|
|
The ExFileSelectDialog widget provides an convenient method for the
|
85 |
|
|
user to select files. The style of the ExFileSelectDialog widget is
|
86 |
|
|
very similar to the standard file dialog in MS Windows 3.1.
|
87 |
|
|
'
|
88 |
|
|
'
|
89 |
|
|
'----------------------------------------------------------------------
|
90 |
|
|
.SH WIDGET COMMANDS
|
91 |
|
|
.PP
|
92 |
|
|
'
|
93 |
|
|
The \fBtixExFileSelectDialog\fR command creates a new Tcl command whose
|
94 |
|
|
name is the same as the path name of the ExFileSelectDialog's
|
95 |
|
|
window. This command may be used to invoke various operations on the
|
96 |
|
|
widget. It has the following general form:
|
97 |
|
|
'
|
98 |
|
|
.DS C
|
99 |
|
|
'
|
100 |
|
|
\fIpathName option \fR?\fIarg arg ...\fR?
|
101 |
|
|
.PP
|
102 |
|
|
.DE
|
103 |
|
|
'
|
104 |
|
|
\fIPathName\fR is the name of the command, which is the same as the
|
105 |
|
|
ExFileSelectDialog widget's path name. \fIOption\fR and the
|
106 |
|
|
\fIarg\fRs determine the exact behavior of the command. The following
|
107 |
|
|
commands are possible for ExFileSelectDialog widgets:
|
108 |
|
|
'
|
109 |
|
|
.TP
|
110 |
|
|
\fIpathName \fBcget\fR \fIoption\fR
|
111 |
|
|
'
|
112 |
|
|
Returns the current value of the configuration option given by
|
113 |
|
|
\fIoption\fR. \fIOption\fR may have any of the values accepted by the
|
114 |
|
|
\fBtixExFileSelectDialog\fR command.
|
115 |
|
|
'
|
116 |
|
|
'
|
117 |
|
|
.TP
|
118 |
|
|
'
|
119 |
|
|
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
|
120 |
|
|
'
|
121 |
|
|
Query or modify the configuration options of the widget. If no
|
122 |
|
|
\fIoption\fR is specified, returns a list describing all of the
|
123 |
|
|
available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
|
124 |
|
|
information on the format of this list). If \fIoption\fR is specified
|
125 |
|
|
with no \fIvalue\fR, then the command returns a list describing the
|
126 |
|
|
one named option (this list will be identical to the corresponding
|
127 |
|
|
sublist of the value returned if no \fIoption\fR is specified). If
|
128 |
|
|
one or more \fIoption\-value\fR pairs are specified, then the command
|
129 |
|
|
modifies the given widget option(s) to have the given value(s); in
|
130 |
|
|
this case the command returns an empty string. \fIOption\fR may have
|
131 |
|
|
any of the values accepted by the \fBtixExFileSelectDialog\fR command.
|
132 |
|
|
'
|
133 |
|
|
'
|
134 |
|
|
.TP
|
135 |
|
|
\fIpathName \fBpopdown\fR
|
136 |
|
|
'
|
137 |
|
|
Withdraws the ExFileSelectDialog from the screen.
|
138 |
|
|
'
|
139 |
|
|
.TP
|
140 |
|
|
\fIpathName \fBpopup\fR
|
141 |
|
|
'
|
142 |
|
|
Pops up the ExFileSelectDialog on the screen.
|
143 |
|
|
'
|
144 |
|
|
'
|
145 |
|
|
.TP
|
146 |
|
|
\fIpathName \fBsubwidget \fIname ?args?\fR
|
147 |
|
|
'
|
148 |
|
|
When no options are given, this command returns the pathname of the
|
149 |
|
|
subwidget of the specified name.
|
150 |
|
|
|
151 |
|
|
When options are given, the widget command of the specified subwidget
|
152 |
|
|
will be called with these options.
|
153 |
|
|
'
|
154 |
|
|
'
|
155 |
|
|
'
|
156 |
|
|
'----------------------------------------------------------------------
|
157 |
|
|
'.SH BINDINGS
|
158 |
|
|
'.PP
|
159 |
|
|
'
|
160 |
|
|
'
|
161 |
|
|
'
|
162 |
|
|
'----------------------------------------------------------------------
|
163 |
|
|
.SH KEYWORDS
|
164 |
|
|
Tix(n)
|