Give focus to widget previous to the specified widget
PtWidget_t *PtGlobalFocusPrevFrom( PtWidget_t *widget, PhEvent_t *event );
Unlike PtGlobalFocusPrev(), this function doesn't find the currently focused widget first. PtGlobalFocusNextFrom() will move the focus to the first focusable widget previous to widget in the same disjoint widget (window, region, menu) as widget.
The widget that's given focus receives event as the reason. If event isn't provided, a NULL event is 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(), PtGlobalFocusPrevContainer(), PtIsFocused()