Next: The InitWidgetRec Method Up: Tix Object Oriented Previous: Declaring Public Methods

 

Standard Initialization Methods

Each new mega-widget class must supply three standard initialization methods. When an instance of a Tix widget is created, three methods will be called to initialize this instance. The methods are InitWidgetRec, ConstructWidget and SetBindings and they will be called in that order. The following sections show how these methods can be implemented.



http://tix.sourceforge.net