1TixIntro(n)                  Tix Built-In Commands                 TixIntro(n)
2
3
4

NAME

6       TixIntro - Introduction to the Tix library
7

DESCRIPTION

9       Tix,  which  stands for Tk Interface Extension, is an extension library
10       for Tcl/Tk. Tix adds many new widgets, image types and  other  commands
11       that allows you to create compelling Tcl/Tk-based GUI applications.
12
13       One  advantage of Tix over other Tk widget libraries is many of the Tix
14       standard widgets are implemented in native code. This enhances  perfor‐
15       mance and provides native look-and-feel for your applications.
16
17       This version of Tix works with Tcl/Tk version 8.0 or above.  If Tix has
18       been installed properly on your system, you can load the  package  into
19       any  Tk  script  by invoking the command package require Tix After this
20       command has successfully returned, you can start using the functionali‐
21       ties  of  the  Tix  library. See the EXAMPLES section below for example
22       scripts that use Tix.
23
24       If the "package require  Tix"  command  fails,  you  probably  need  to
25       install  a  new copy of Tix on your system. You can download the latest
26       version of Tix from the web site http://tix.sourceforge.net/.
27

STANDARD WIDGETS

29       Tix includes the following standard widgets which, like their  counter‐
30       parts in Tk, are implemented in native code to achieve high performance
31       and native look-and-feel.
32
33       tixGrid
34              The tixGrid widget displays items in a spread-sheet format.
35
36       tixHList
37              Hierarchical listbox widget. This widget display  entries  in  a
38              tree-like format.
39
40       tixInputOnly
41              A transparent window that can be used to cover another widget so
42              as to disable mouse input.
43
44       tixNBFrame
45              The tixNBFrame widget is used internally by the tixNoteBook wid‐
46              get to display choices among a set of overlapping pages.
47
48       tixTList
49              Tabular  listbox  widget. This widget is similar to the built-in
50              Tk listbox widget but provides more  flexibility  in  displaying
51              the list entries.
52

MEGA WIDGETS

54       Tix provides many new types of mega widgets: these are widgets that are
55       composed of built-in Tk widgets and the Tix standard widgets  mentioned
56       above.
57
58       tixBalloon
59              The tixBalloon widget provides context-sensitive on-screen help.
60
61       tixButtonBox
62              A convenience class for creating a box of button widgets.
63
64       tixCheckList
65              A  subclass of tixTree that presents single- or multiple choices
66              to the user in a tree-like format.
67
68       tixComboBox
69              A combination of the listbox and entry widgets that  allows  the
70              user  to  input an item by typing or by selecting from a list of
71              items.
72
73       tixControl
74              The tixControl widget allows the user to adjust  a  value  using
75              arrow buttons.
76
77       tixDirList
78              A  directory selection widget that displays the file system as a
79              cascading list.
80
81       tixDirSelectDialog
82              A dialog for selecting a directory. This widget  is  deprecated.
83              Use tk_chooseDirectory instead.
84
85       tixDirTree
86              A  directory selection widget that displays the file system in a
87              tree format.
88
89       tixExFileSelectBox
90              A widget for selecting a file. This widget  is  deprecated.  Use
91              tk_getOpenFile instead.
92
93       tixExFileSelectDialog
94              A  dialog  for  selecting a file. This widget is deprecated. Use
95              tk_getOpenFile instead.
96
97       tixFileEntry
98              A special entry widget that allows the user to choose a file  by
99              typing in its name or by selecting from a file dialog.
100
101       tixFileSelectBox
102              A  widget  for  selecting a file. This widget is deprecated. Use
103              tk_getOpenFile instead.
104
105       tixFileSelectDialog
106              A dialog for selecting a file. This widget  is  deprecated.  Use
107              tk_getOpenFile instead.
108
109       tixLabelEntry
110              A  convenience  class  for  creating an entry with an associated
111              label widget.
112
113       tixLabelFrame
114              A labelled frame widget for grouping together a set  of  related
115              widgets.
116
117       tixListNoteBook
118              The  tixListNoteBook widget allows the user to choose from a set
119              of over-lapping pages by selecting from a list box.
120
121       tixMeter
122              The tixMeter widget displays a bar graph to indicate progress.
123
124       tixNoteBook
125              The tixNoteBook widget allows the user to choose from a  set  of
126              over-lapping pages with a tabbed notebook metaphore.
127
128       tixOptionMenu
129              The  tixOptionMenu widget allows the user to choose a value from
130              a pop-up menu.
131
132       tixPanedWindow
133              The tixPanedWindow widgets allows the user to adjust the visible
134              size of several frame widgets with handle bars.
135
136       tixPopupMenu
137              The  tixPopupMenu widget can be used to implement context-sensi‐
138              tive pop-up menu.
139
140       tixScrolledHList
141              A tixHList widget with smart scrollbars. Like other Tix scrolled
142              widgets, the scroll bars can be displayed on an as-needed basis.
143
144       tixScrolledListBox
145              A Tk listbox widget with smart scrollbars.
146
147       tixScrolledText
148              A Tk text widget with smart scrollbars.
149
150       tixScrolledWindow
151              A Tk frame widget with smart scrollbars.
152
153       tixSelect
154              The tixSelect widget uses a set of buttons to present single- or
155              multiple selection options to the user.
156
157       tixStdButtonBox
158              A subclass of tixButtonBox that provides four  standard  buttons
159              (OK, Apply, Cancel Help) for Motif(TM)-like dialog boxes.
160
161       tixTree
162              A  subclass of tixScrolledHList that supports expanding and col‐
163              lapsing of entries in a hierarchical list.
164

DISPLAY ITEMS

166       Three Tix standard widgets tixGrid, tixHList and tixTList  support  the
167       Display  Items  mechanism. Display items are created by the widget com‐
168       mand of these standard widgets.  You  can  customize  the  items  using
169       styles objects.
170
171       tixDisplayStyle
172              Create style objects to customize display items.
173

IMAGE TYPES

175       Tix provides two additional image types to the Tk image framework.
176
177       compound
178              The  compound  image type allows you to combine images, widgets,
179              and text strings into a single Tk image object.
180
181       pixmap The pixmap image type supports the XPM format.
182

OTHER COMMANDS

184       The following Tcl command are also included in the Tix library to  per‐
185       form various functions.
186
187       tixDestroy
188              Destroy  Tix  objects  instances  of classes defined by tixClass
189              construct.
190
191       tixForm
192              A geometry manager based on attachment rules. This geometry man‐
193              ager is deprecated. Use the Tk grid geometry manager instead.
194
195       tixMwm A command to communicate with the Mwm, the Motif(TM) Window Man‐
196              ager. Works on Unix only.
197
198       tix    The tix command controls the Tix application context.
199
200       tixGetBoolean
201              The tixGetBoolean command converts a string to a boolean value.
202
203       tixGetInt
204              The tixGetInt command converts a string to a integer value.
205
206       tixUtils
207              The tixUtils manual page describes some utility Tix commands.
208

EXECUTABLE PROGRAM

210       tixwish
211              The tixwish program can be used to  execute  Tix-based  applica‐
212              tions.  tixwish  is  deprecated. You shuld use the standard wish
213              program from Tk and access Tix via  the  "package  require  Tix"
214              command.
215

EXAMPLES

217       The following is an example script that uses a tixTree widget.
218
219       set  tree  [tixTree .t] pack $tree -expand yes -fill both for {set i 0}
220       {$i < 2} {incr i} {
221           $tree subwidget hlist add $i -itemtype imagetext \
222               -text "Folder $i" -image [tix getimage folder]
223           for {set j 0} {$j < 5} {incr j} {
224               $tree subwidget hlist add $i.$j -itemtype imagetext \
225                   -text "File $i.$j" -image [tix getimage textfile]
226           } } $tree autosetmode
227

KEYWORDS

229       Tix, mega widgets
230
231
232
233
234
235
236Tix                                   8.0                          TixIntro(n)
Impressum