Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtFindFocusChild

PtFindFocusChild

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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()