Tix Programming Guide
preface.tex.html#0.1
0.1 About This Manual
preface.tex.html#0.2
0.2 About This HTML Document
preface.tex.html#0.3
0.3 Other Formats Of This Document
preface.tex.html#0.4
0.4 Organization of This Manual
intro.tex.html#1
1 Introduction
intro.tex.html#1.1
1.1 What is Tix
intro.tex.html#1.1.1
1.1.1 Tix for Application Programmers
intro.tex.html#1.1.2
1.1.2 Tix for Widget Developers
intro.tex.html#1.2
1.2 Getting Started: the TixControl Widget
intro.tex.html#1.2.1
1.2.1 Creating a TixControl Widget
intro.tex.html#1.2.2
1.2.2 Accessing The Value of a TixControl Widget
intro.tex.html#1.2.2.1
1.2.2.1 Disabling Callbacks Temporarily
intro.tex.html#1.2.3
1.2.3 Validating User Inputs
intro.tex.html#1.3
1.3 Accessing The Components Inside Mega Widgets
intro.tex.html#1.3.1
1.3.1 Subwidgets
intro.tex.html#1.3.2
1.3.2 Subwidget Names
intro.tex.html#1.3.3
1.3.3 The
subwidget
Method
intro.tex.html#1.3.4
1.3.4 Chaining the
subwidget
Method
intro.tex.html#1.3.5
1.3.5 Configuring Subwidget Options Using the
-options
Switch
intro.tex.html#1.3.6
1.3.6 Configuring Subwidget Options Using the Tk Option Database
intro.tex.html#1.3.7
1.3.7 Caution: Restricted Access
intro.tex.html#1.4
1.4 Another Tix Widget: TixComboBox
intro.tex.html#1.4.1
1.4.1 Creating a TixComboBox Widget
intro.tex.html#1.4.2
1.4.2 Controlling the Style of the TixComboBox
intro.tex.html#1.4.3
1.4.3 Static Options
intro.tex.html#1.4.4
1.4.4 Monitoring the User's Browsing Actions
intro.tex.html#1.5
1.5 The TixSelect Widget
intro.tex.html#1.5.1
1.5.1 Creating A TixSelect Widget
intro.tex.html#1.5.1.1
1.5.1.1 Label and Orientation
intro.tex.html#1.5.1.2
1.5.1.2 Creating the Button Subwidgets and Configuring Their Appearance
intro.tex.html#1.5.1.3
1.5.1.3 Accessing the Button Subwidgets
intro.tex.html#1.5.2
1.5.2 Specifying Selection Rules
intro.tex.html#1.5.3
1.5.3 Accessing the Value of a TixSelect Widget
intro.tex.html#1.5.4
1.5.4 Specifying Complex Selection Rules
container.tex.html#2
2 Container Widgets
container.tex.html#2.1
2.1 TixNoteBook
container.tex.html#2.1.1
2.1.1 Adding Pages to a TixNoteBook
container.tex.html#2.1.2
2.1.2 Keyboard Accelerators
container.tex.html#2.1.3
2.1.3 Delaying the Creation of New Pages
container.tex.html#2.1.4
2.1.4 Changing Page Tabs and Deleting Pages
container.tex.html#2.2
2.2 PanedWindow
container.tex.html#2.2.1
2.2.1 Adding Panes Inside a TixPanedWindow Widget
container.tex.html#2.2.2
2.2.2 Putting Widgets Inside the Panes
container.tex.html#2.2.3
2.2.3 Setting the Order of the Panes
container.tex.html#2.2.4
2.2.4 Changing the Sizes of the Panes
container.tex.html#2.3
2.3 The Family of Scrolled Widgets
container.tex.html#2.3.1
2.3.1 The Scrolled Listbox Widget
container.tex.html#2.3.2
2.3.2 Other Scrolled Widgets
tlist.tex.html#3
3 Tabular Listbox and Display Items
tlist.tex.html#3.1
3.1 tixTList -- The Tix Tabular Listbox Widget
tlist.tex.html#3.2
3.2 Display Items
tlist.tex.html#3.2.1
3.2.1 Advantages of Display Items
tlist.tex.html#3.2.2
3.2.2 Display Items and Display Styles
tlist.tex.html#3.3
3.3 Creating Display Items in the TixTList Widget
tlist.tex.html#3.3.1
3.3.1 Creating Display Items
tlist.tex.html#3.3.2
3.3.2 Setting the Styles of the Display Items
tlist.tex.html#3.3.3
3.3.3 Configuring and Deleting the Items
tlist.tex.html#3.3.4
3.3.4 Choosing the Orientation and Number of Rows or Columns
tlist.tex.html#3.3.5
3.3.5 Event Handling
tlist.tex.html#3.3.6
3.3.6 Selection
hlist.tex.html#4
4 Hierarchical Listbox
hlist.tex.html#4.1
4.1 TixHList -- The Tix Hierarchical Listbox Widget
hlist.tex.html#4.1.1
4.1.1 Creating a Hierarchical List
hlist.tex.html#4.1.2
4.1.2 Creating Entries in a HList Widget
hlist.tex.html#4.1.3
4.1.3 Controlling the Layout of the Entries
hlist.tex.html#4.1.4
4.1.4 Handling the Selection and User Event
hlist.tex.html#4.2
4.2 Creating Collapsible Tree Structures with TixTree
filesel.tex.html#5
5 Selecting Files and Directories
filesel.tex.html#5.1
5.1 File Selection Dialog Widgets
filesel.tex.html#5.1.1
5.1.1 Using the TixFileSelectDialog Widget
filesel.tex.html#5.1.2
5.1.2 The Subwidget in the TixFileSelectDialog
filesel.tex.html#5.1.3
5.1.3 The TixExFileSelectDialog Widget
filesel.tex.html#5.1.4
5.1.4 Specifying File Types for TixExFileSelectDialog
filesel.tex.html#5.1.5
5.1.5 The
tix filedialog
Command
filesel.tex.html#5.2
5.2 Selecting Directories with the TixDirTree and TixDirList Widgets
oop.tex.html#6
6 Tix Object Oriented Programming
oop.tex.html#6.1
6.1 Introduction to Tix Object Oriented Programming
oop.tex.html#6.1.1
6.1.1 Widget Classes and Widget Instances
oop.tex.html#6.1.2
6.1.2 What is in a Widget Instance
oop.tex.html#6.1.2.1
6.1.2.1 Variables
oop.tex.html#6.1.2.2
6.1.2.2 Methods
oop.tex.html#6.1.2.3
6.1.2.3 Component Widgets
oop.tex.html#6.2
6.2 Widget Class Declaration
oop.tex.html#6.2.1
6.2.1 Using the tixWidgetClass Command
oop.tex.html#6.3
6.3 Writing Methods
oop.tex.html#6.3.1
6.3.1 Declaring Public Methods
oop.tex.html#6.4
6.4 Standard Initialization Methods
oop.tex.html#6.4.1
6.4.1 The InitWidgetRec Method
oop.tex.html#6.4.1.1
6.4.1.1 Chaining Methods
oop.tex.html#6.4.1.2
6.4.1.2 The tixChainMethod call
oop.tex.html#6.4.2
6.4.2 The ConstructWidget Method
oop.tex.html#6.4.3
6.4.3 The SetBindings Method
oop.tex.html#6.5
6.5 Declaring and Using Variables
oop.tex.html#6.5.1
6.5.1 Initialization of Public Variables
oop.tex.html#6.5.1.1
6.5.1.1 Type Checker
oop.tex.html#6.5.2
6.5.2 Public Variable Configuration Methods
oop.tex.html#6.5.2.1
6.5.2.1 Configuration Methods and Public Variable Initialization
oop.tex.html#6.6
6.6 Summary of Widget Instance Initialization
oop.tex.html#6.7
6.7 Loading the New Classes
