[Previous] [Contents] [Index] [Next]

PtSuperClassInit(), PtSuperClassInitFrom()

Invoke Initialize method of specified widget class

Synopsis:

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

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

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

[Previous] [Contents] [Index] [Next]