Next:
Preface
Up:
Tix Programming Guide
Previous:
Tix Programming Guide
Contents
Contents
Preface
About This Manual
About This Document
Organization of This Manual
Introduction
What is Tix
Tix for Application Programmers
Tix for Widget Developers
Getting Started: the TixControl Widget
Creating a TixControl Widget
Accessing The Value of a TixControl Widget
Disabling Callbacks Temporarily
Validating User Inputs
Accessing The Components Inside Mega Widgets
Subwidgets
Subwidget Names
The
subwidget
Method
Chaining the
subwidget
Method
Configuring Subwidget Options Using the
-options
Switch
Configuring Subwidget Options Using the Tk Option Database
Caution: Restricted Access
Another Tix Widget: TixComboBox
Creating a TixComboBox Widget
Controlling the Style of the TixComboBox
Static Options
Monitoring the User's Browsing Actions
The TixSelect Widget
Creating A TixSelect Widget
Label and Orientation
Creating the Button Subwidgets and Configuring Their Appearance
Accessing the Button Subwidgets
Specifying Selection Rules
Accessing the Value of a TixSelect Widget
Specifying Complex Selection Rules
Container Widgets
TixNoteBook
Adding Pages to a TixNoteBook
Keyboard Accelerators
Delaying the Creation of New Pages
Changing Page Tabs and Deleting Pages
PanedWindow
Adding Panes Inside a TixPanedWindow Widget
Putting Widgets Inside the Panes
Setting the Order of the Panes
Changing the Sizes of the Panes
The Family of Scrolled Widgets
The Scrolled Listbox Widget
Other Scrolled Widgets
Tabular Listbox and Display Items
tixTList - The Tix Tabular Listbox Widget
Display Items
Advantages of Display Items
Display Items and Display Styles
Creating Display Items in the TixTList Widget
Creating Display Items
Setting the Styles of the Display Items
Configuring and Deleting the Items
Choosing the Orientation and Number of Rows or Columns
Event Handling
Selection
Hierarchical Listbox
TixHList - The Tix Hierarchical Listbox Widget
Creating a Hierarchical List
Creating Entries in a HList Widget
Controlling the Layout of the Entries
Handling the Selection and User Event
Creating Collapsible Tree Structures with TixTree
Selecting Files and Directories
File Selection Dialog Widgets
Using the TixFileSelectDialog Widget
The Subwidget in the TixFileSelectDialog
The TixExFileSelectDialog Widget
Specifying File Types for TixExFileSelectDialog
5.1.5 The
tix filedialog
Command
Selecting Directories with the TixDirTree and TixDirList Widgets
Tix Object Oriented Programming
Introduction to Tix Object Oriented Programming
Widget Classes and Widget Instances
What is in a Widget Instance
Variables
Methods
Component Widgets
Widget Class Declaration
Using the tixWidgetClass Command
Writing Methods
Declaring Public Methods
Standard Initialization Methods
The InitWidgetRec Method
Chaining Methods
The tixChainMethod call
The ConstructWidget Method
The SetBindings Method
Declaring and Using Variables
Initialization of Public Variables
Type Checker
Public Variable Configuration Methods
Configuration Methods and Public Variable Initialization
Summary of Widget Instance Initialization
Loading the New Classes