PtSuperClassConnect(), PtSuperClassConnectFrom()

Invoke the Connection method of specified widget class

Synopsis:

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

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

Arguments:

cref
The superclass whose method you want to invoke.
widget
A pointer to the widget for which to invoke the method.

Description:

PtSuperClassConnect() invokes the Connection method of the specified widget class cref.

PtSuperClassConnectFrom() calls the Connection methods of all superclasses starting with the superclass specified by cref.

Returns:

Pt_CONTINUE
The connection callback chain can continue
Pt_HALT or Pt_END
The connection callbacks should stop.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No