Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | <html> | |
3 | <head> | |
4 | <link rel="STYLESHEET" href="lib.css" type='text/css' /> | |
5 | <link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" /> | |
6 | <link rel='start' href='../index.html' title='Python Documentation Index' /> | |
7 | <link rel="first" href="lib.html" title='Python Library Reference' /> | |
8 | <link rel='contents' href='contents.html' title="Contents" /> | |
9 | <link rel='index' href='genindex.html' title='Index' /> | |
10 | <link rel='last' href='about.html' title='About this document...' /> | |
11 | <link rel='help' href='about.html' title='About this document...' /> | |
12 | <link rel="next" href="node737.html" /> | |
13 | <link rel="prev" href="node735.html" /> | |
14 | <link rel="parent" href="node734.html" /> | |
15 | <link rel="next" href="node737.html" /> | |
16 | <meta name='aesop' content='information' /> | |
17 | <title>16.2.2.2 File Selectors</title> | |
18 | </head> | |
19 | <body> | |
20 | <DIV CLASS="navigation"> | |
21 | <div id='top-navigation-panel' xml:id='top-navigation-panel'> | |
22 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> | |
23 | <tr> | |
24 | <td class='online-navigation'><a rel="prev" title="16.2.2.1 Basic Widgets" | |
25 | href="node735.html"><img src='../icons/previous.png' | |
26 | border='0' height='32' alt='Previous Page' width='32' /></A></td> | |
27 | <td class='online-navigation'><a rel="parent" title="16.2.2 Tix Widgets" | |
28 | href="node734.html"><img src='../icons/up.png' | |
29 | border='0' height='32' alt='Up One Level' width='32' /></A></td> | |
30 | <td class='online-navigation'><a rel="next" title="16.2.2.3 Hierachical ListBox" | |
31 | href="node737.html"><img src='../icons/next.png' | |
32 | border='0' height='32' alt='Next Page' width='32' /></A></td> | |
33 | <td align="center" width="100%">Python Library Reference</td> | |
34 | <td class='online-navigation'><a rel="contents" title="Table of Contents" | |
35 | href="contents.html"><img src='../icons/contents.png' | |
36 | border='0' height='32' alt='Contents' width='32' /></A></td> | |
37 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' | |
38 | border='0' height='32' alt='Module Index' width='32' /></a></td> | |
39 | <td class='online-navigation'><a rel="index" title="Index" | |
40 | href="genindex.html"><img src='../icons/index.png' | |
41 | border='0' height='32' alt='Index' width='32' /></A></td> | |
42 | </tr></table> | |
43 | <div class='online-navigation'> | |
44 | <b class="navlabel">Previous:</b> | |
45 | <a class="sectref" rel="prev" href="node735.html">16.2.2.1 Basic Widgets</A> | |
46 | <b class="navlabel">Up:</b> | |
47 | <a class="sectref" rel="parent" href="node734.html">16.2.2 Tix Widgets</A> | |
48 | <b class="navlabel">Next:</b> | |
49 | <a class="sectref" rel="next" href="node737.html">16.2.2.3 Hierachical ListBox</A> | |
50 | </div> | |
51 | <hr /></div> | |
52 | </DIV> | |
53 | <!--End of Navigation Panel--> | |
54 | ||
55 | <H3><A NAME="SECTION0018222000000000000000"> | |
56 | 16.2.2.2 File Selectors</A> | |
57 | </H3> | |
58 | ||
59 | <P> | |
60 | <dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"> | |
61 | <td><nobr><b><span class="typelabel">class</span> <tt id='l2h-4856' xml:id='l2h-4856' class="class">DirList</tt></b>(</nobr></td> | |
62 | <td><var></var>)</td></tr></table></dt> | |
63 | <dd> | |
64 | The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixDirList.htm" | |
65 | >DirList</a> widget | |
66 | displays a list view of a directory, its previous directories and its | |
67 | sub-directories. The user can choose one of the directories displayed | |
68 | in the list or change to another directory. | |
69 | </dl> | |
70 | ||
71 | <P> | |
72 | <dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"> | |
73 | <td><nobr><b><span class="typelabel">class</span> <tt id='l2h-4857' xml:id='l2h-4857' class="class">DirTree</tt></b>(</nobr></td> | |
74 | <td><var></var>)</td></tr></table></dt> | |
75 | <dd> | |
76 | The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixDirTree.htm" | |
77 | >DirTree</a> | |
78 | widget displays a tree view of a directory, its previous directories | |
79 | and its sub-directories. The user can choose one of the directories | |
80 | displayed in the list or change to another directory. | |
81 | </dl> | |
82 | ||
83 | <P> | |
84 | <dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"> | |
85 | <td><nobr><b><span class="typelabel">class</span> <tt id='l2h-4858' xml:id='l2h-4858' class="class">DirSelectDialog</tt></b>(</nobr></td> | |
86 | <td><var></var>)</td></tr></table></dt> | |
87 | <dd> | |
88 | The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixDirSelectDialog.htm" | |
89 | >DirSelectDialog</a> | |
90 | widget presents the directories in the file system in a dialog | |
91 | window. The user can use this dialog window to navigate through the | |
92 | file system to select the desired directory. | |
93 | </dl> | |
94 | ||
95 | <P> | |
96 | <dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"> | |
97 | <td><nobr><b><span class="typelabel">class</span> <tt id='l2h-4859' xml:id='l2h-4859' class="class">DirSelectBox</tt></b>(</nobr></td> | |
98 | <td><var></var>)</td></tr></table></dt> | |
99 | <dd> | |
100 | The <tt class="class">DirSelectBox</tt> is similar | |
101 | to the standard Motif(TM) directory-selection box. It is generally used for | |
102 | the user to choose a directory. DirSelectBox stores the directories mostly | |
103 | recently selected into a ComboBox widget so that they can be quickly | |
104 | selected again. | |
105 | </dl> | |
106 | ||
107 | <P> | |
108 | <dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"> | |
109 | <td><nobr><b><span class="typelabel">class</span> <tt id='l2h-4860' xml:id='l2h-4860' class="class">ExFileSelectBox</tt></b>(</nobr></td> | |
110 | <td><var></var>)</td></tr></table></dt> | |
111 | <dd> | |
112 | The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixExFileSelectBox.htm" | |
113 | >ExFileSelectBox</a> | |
114 | widget is usually embedded in a tixExFileSelectDialog widget. It | |
115 | provides an convenient method for the user to select files. The style | |
116 | of the <tt class="class">ExFileSelectBox</tt> widget is very similar to the standard | |
117 | file dialog on MS Windows 3.1. | |
118 | </dl> | |
119 | ||
120 | <P> | |
121 | <dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"> | |
122 | <td><nobr><b><span class="typelabel">class</span> <tt id='l2h-4861' xml:id='l2h-4861' class="class">FileSelectBox</tt></b>(</nobr></td> | |
123 | <td><var></var>)</td></tr></table></dt> | |
124 | <dd> | |
125 | The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixFileSelectBox.htm" | |
126 | >FileSelectBox</a> | |
127 | is similar to the standard Motif(TM) file-selection box. It is | |
128 | generally used for the user to choose a file. FileSelectBox stores the | |
129 | files mostly recently selected into a <tt class="class">ComboBox</tt> widget so that | |
130 | they can be quickly selected again. | |
131 | </dl> | |
132 | ||
133 | <P> | |
134 | <dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"> | |
135 | <td><nobr><b><span class="typelabel">class</span> <tt id='l2h-4862' xml:id='l2h-4862' class="class">FileEntry</tt></b>(</nobr></td> | |
136 | <td><var></var>)</td></tr></table></dt> | |
137 | <dd> | |
138 | The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixFileEntry.htm" | |
139 | >FileEntry</a> | |
140 | widget can be used to input a filename. The user can type in the | |
141 | filename manually. Alternatively, the user can press the button widget | |
142 | that sits next to the entry, which will bring up a file selection | |
143 | dialog. | |
144 | </dl> | |
145 | ||
146 | <P> | |
147 | ||
148 | <DIV CLASS="navigation"> | |
149 | <div class='online-navigation'> | |
150 | <p></p><hr /> | |
151 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> | |
152 | <tr> | |
153 | <td class='online-navigation'><a rel="prev" title="16.2.2.1 Basic Widgets" | |
154 | href="node735.html"><img src='../icons/previous.png' | |
155 | border='0' height='32' alt='Previous Page' width='32' /></A></td> | |
156 | <td class='online-navigation'><a rel="parent" title="16.2.2 Tix Widgets" | |
157 | href="node734.html"><img src='../icons/up.png' | |
158 | border='0' height='32' alt='Up One Level' width='32' /></A></td> | |
159 | <td class='online-navigation'><a rel="next" title="16.2.2.3 Hierachical ListBox" | |
160 | href="node737.html"><img src='../icons/next.png' | |
161 | border='0' height='32' alt='Next Page' width='32' /></A></td> | |
162 | <td align="center" width="100%">Python Library Reference</td> | |
163 | <td class='online-navigation'><a rel="contents" title="Table of Contents" | |
164 | href="contents.html"><img src='../icons/contents.png' | |
165 | border='0' height='32' alt='Contents' width='32' /></A></td> | |
166 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' | |
167 | border='0' height='32' alt='Module Index' width='32' /></a></td> | |
168 | <td class='online-navigation'><a rel="index" title="Index" | |
169 | href="genindex.html"><img src='../icons/index.png' | |
170 | border='0' height='32' alt='Index' width='32' /></A></td> | |
171 | </tr></table> | |
172 | <div class='online-navigation'> | |
173 | <b class="navlabel">Previous:</b> | |
174 | <a class="sectref" rel="prev" href="node735.html">16.2.2.1 Basic Widgets</A> | |
175 | <b class="navlabel">Up:</b> | |
176 | <a class="sectref" rel="parent" href="node734.html">16.2.2 Tix Widgets</A> | |
177 | <b class="navlabel">Next:</b> | |
178 | <a class="sectref" rel="next" href="node737.html">16.2.2.3 Hierachical ListBox</A> | |
179 | </div> | |
180 | </div> | |
181 | <hr /> | |
182 | <span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span> | |
183 | </DIV> | |
184 | <!--End of Navigation Panel--> | |
185 | <ADDRESS> | |
186 | See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. | |
187 | </ADDRESS> | |
188 | </BODY> | |
189 | </HTML> |