subsubsectionstar3_7_1_5.html
subsection3_7_1.html
subsubsection3_7_1_3.html
tableofcontents3_1.html
Next:
subsubsectionstar3_7_1_5.html
5.1.5 The tix
Up:
subsection3_7_1.html
File Selection Dialog
Previous:
subsubsection3_7_1_3.html
The TixExFileSelectDialog Widget
Specifying File Types for TixExFileSelectDialog
The TixExFileSelectBox widget has a ComboBox subwidget marked as
``Select Files of Type:'' (see figure 5-3). This widget
contains some pre-set types of files for the user to choose
from. For example, a word processor program can include choices such
as ``Microsoft Word Documents'' and ``WordPerfect Documents''.
The TixExFileSelectBox widget has a
-filetypes
option for this
purpose. As shown in line 3 through 7 in program 5-4, the
value for the
-filetypes
option is a list. Each item in the list
should contain two parts. The first part is a list of file patterns and
the second part is the textual name for this type of files.
http://tix.sourceforge.net
http://tix.sourceforge.net
