Standard Initialization Methods<A NAME=64> </A>

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 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.

- The InitWidgetRec Method
- Chaining Methods
- The tixChainMethod call
- The ConstructWidget Method
- The SetBindings Method