PtSuperClassRawEvent(), PtSuperClassRawEventFrom()

Invoke the raw callback list of the specified widget class

Synopsis:

int PtSuperClassRawEvent( PtWidgetClassRef_t *cref,
                          PtWidget_t *widget 
                          void *data, 
                          PtCallbackInfo_t *cbinfo );

int PtSuperClassRawEventFrom( 
                   PtWidgetClassRef_t *cref,
                   PtWidget_t *widget, 
                   void *data, 
                   PtCallbackInfo_t *cbinfo );

Arguments:

cref
The superclass whose method you want to call.
widget
A pointer to the widget for which to call the superclass's method.
data
Arbitrary data to pass to the raw callbacks as the client_data argument.
cbinfo
Callback information to pass to the raw callbacks as the cbinfo argument.

Description:

PtSuperClassRawEvent() invokes the raw callback list of the specified widget class.

PtSuperClassRawEventFrom() calls the raw callback lists of all superclasses starting with the superclass specified by cref. When PtSuperClassRawEventFrom() is used in a class's raw callback, the callback should return Pt_END.

Returns:

Pt_END if the event was consumed, Pt_CONTINUE if it wasn't.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtCallbackInfo_t in the Photon Widget Reference