subsection3_8_7.html
section3_8.html
subsubsectionstar3_8_5_4.html
tableofcontents3_1.html
Next:
subsection3_8_7.html
Loading the New
Up:
section3_8.html
Tix Object Oriented
Previous:
subsubsectionstar3_8_5_4.html
Configuration Methods and
Summary of Widget Instance Initialization
The creation of a widget instance is a complex process. You must
understand how it works in order to write your widget classes. The
following is the steps taken by the Tix Intrinsics when a widget
instance is created:
When the user creates an instance, the public variables are
intilized as discussed in section 6.5.1. Type checkers
are always called if they are specified. Configuration methods are
called only if they are specified in the
-forcecall
section.
The
InitWidgetRec
method is called. It should initialize
private variable, possibly according to the values the public
variables.
The
ConstructWidget
method is called. It should create the
component widgets. It should also store the names of public
subwidgets into the subwidget variables.
The
SetBinding
method is called. It should create bindings for
the component widgets.
After the above steps, the creation of the instance is complete and the
user can iterate with it using its widget command.
http://tix.sourceforge.net
http://tix.sourceforge.net
