Find the currently focused widget in the same disjoint widget as a widget
PtWidget_t *PtContainerFindFocus( PtWidget_t *family_member );
ph
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.
A pointer to the currently focused widget, or NULL if family_member is passed as NULL.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtContainerGiveFocus(), PtContainerNullFocus(), PtContainerFocusNext(), PtContainerFocusPrev(), PtGlobalFocusNext(), PtGlobalFocusNextFrom(), PtGlobalFocusPrev(), PtGlobalFocusPrevFrom(), PtIsFocused()