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

PtFindFocusChild()

Find the closest focusable child widget

Synopsis:

PtWidget_t *PtFindFocusChild( PtWidget_t *widget );

Library:

ph

Description:

This function finds the closest focusable child widget of widget. If no focusable children are found, widget is returned.


Note: This function doesn't give focus to the child widget.

Returns:

The pointer passed in widget if no focusable children are found, or a pointer to the first focusable child of widget.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtContainerFindFocus(), PtFindFocusNextFrom(), PtFindFocusPrevFrom()