PtSuperClassInit(), PtSuperClassInitFrom()

Invoke the Initialize method of specified widget class

Synopsis:

int PtSuperClassInit( PtWidgetClassRef_t *cref, 
                      PtWidget_t *widget );

int PtSuperClassInitFrom( PtWidgetClassRef_t *cref,
                      PtWidget_t *widget );

Arguments:

cref
The superclass whose method you want to call.
widget
A pointer to the widget for which to call the superclass's method.

Description:

PtSuperClassInit() invokes the Initialize method of the specified widget class cref.

PtSuperClassInitFrom() calls the Initialize method of all superclasses starting with the superclass specified by cref. When PtSuperClassInitFrom() is used in a Initialize method, Pt_END should be returned.

Returns:

Pt_CONTINUE
The Initialization method chain can continue.
Pt_HALT or Pt_END
The Initialization method chaining should stop.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No