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

PtIsFocused()

Determine to what degree a widget is focused

Synopsis:

int PtIsFocused( PtWidget_t *widget );

Description:

This function returns a value indicating to what degree a widget is focused.

Returns:

0
The widget isn't focused.
1
The widget is on the focus branch.
2
The widget is the focus leaf.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtContainerFindFocus(), PtContainerFocusNext(), PtContainerFocusPrev(), PtGlobalFocusNext(), PtGlobalFocusNextFrom(), PtGlobalFocusPrev(), PtGlobalFocusPrevFrom()


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