PtContainerFindFocus()

Find the currently focused widget in the same disjoint widget as a widget

Synopsis:

PtWidget_t *PtContainerFindFocus(
              PtWidget_t *family_member );

Library:

ph

Description:

This function finds the focused widget for the disjoint widget that contains family_member, or the focused widget in family_member if family_member is a disjoint widget. In other words, in a multi-window application, the function will find the focused widget in the same window as family_member.

Returns:

A pointer to the currently focused widget, or NULL if family_member is passed as NULL.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtContainerGiveFocus(), PtContainerNullFocus(), PtContainerFocusNext(), PtContainerFocusPrev(), PtGlobalFocusNext(), PtGlobalFocusNextFrom(), PtGlobalFocusPrev(), PtGlobalFocusPrevFrom(), PtIsFocused()