Give focus to widget in previous container
PtWidget_t *PtGlobalFocusPrevContainer( PtWidget_t *widget, PhEvent_t *event );
This function finds the currently focused widget in the same disjoint widget (window, region, menu) as widget and moves the focus to the previous focusable widget in another container. The widget that's given focus will receive event as the reason.
If event isn't provided, a NULL event will be generated 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 |
PtContainerGiveFocus(), PtContainerNullFocus(), PtContainerFocusNext(), PtContainerFocusPrev(), PtGlobalFocusNext(), PtGlobalFocusNextContainer(), PtGlobalFocusNextFrom(), PtGlobalFocusPrev(), PtGlobalFocusPrevFrom(), PtIsFocused()