[Previous] [Contents] [Index] [Next]

PtGlobalFocusNext()

Give focus to next widget

Synopsis:

PtWidget_t *PtGlobalFocusNext( PtWidget_t *widget, 
                               PhEvent_t *event );

Description:

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 event as the reason. If event isn't provided, a NULL event is generated for you.

Returns:

The widget that was given focus, or NULL if no focusable widgets are found.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtContainerGiveFocus(), PtContainerNullFocus(), PtContainerFocusNext(), PtContainerFocusPrev(), PtGlobalFocusNextContainer(), PtGlobalFocusNextFrom(), PtGlobalFocusPrev(), PtGlobalFocusPrevFrom(), PtGlobalFocusPrevContainer(), PtIsFocused()


[Previous] [Contents] [Index] [Next]