Give focus to next widget
PtWidget_t *PtGlobalFocusNext( PtWidget_t *widget, PhEvent_t *event );
ph
This function finds the currently focused widget in the same disjoint widget (window, region, menu) as widget and moves the focus to the next focusable widget.
The widget that's given focus receives the event described in the given PhEvent_t structure as the reason. If event is NULL, this function generates a PhEvent_t structure filled with zeros for you.
The widget that was given focus, or NULL if no focusable widgets are found.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhEvent_t, PtContainerGiveFocus(), PtContainerNullFocus(), PtContainerFocusNext(), PtContainerFocusPrev(), PtGlobalFocusNextContainer(), PtGlobalFocusNextFrom(), PtGlobalFocusPrev(), PtGlobalFocusPrevFrom(), PtGlobalFocusPrevContainer(), PtIsFocused()