Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtSuperClassChildGettingFocus()

Invoke a Child Getting Focus method

Synopsis:

int PtSuperClassChildGettingFocus( 
                PtWidgetClassRef_t *cref,
                PtWidget_t *widget,
                PtWidget_t *child,
                PhEvent_t *event );

Arguments:

cref
The container superclass whose method you want to call.
widget
A pointer to the widget whose child is getting focus.
child
A pointer to the widget that's getting focus.
event
A pointer to a PhEvent_t structure (see the Photon Library Reference) that describes the event that's causing the change in focus.

Description:

This function invokes the Child Getting Focus method of the container class specified by cref.

Returns:

Pt_END
The container prevented the child from having focus.
Pt_CONTINUE
The child may obtain focus.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhEvent_t in the Photon Library Reference