| Top |
MxFocusable is implemented by MxBin, MxBoxLayout, MxButton, MxComboBox, MxDialog, MxEntry, MxExpander, MxFrame, MxItemView, MxKineticScrollView, MxListView, MxMenu, MxNotebook, MxOffscreen, MxPathBar, MxScrollBar, MxScrollView, MxSlider, MxStack, MxTable, MxToolbar and MxViewport.
MxFocusable * mx_focusable_move_focus (MxFocusable *focusable,MxFocusDirection direction,MxFocusable *from);
Move the focus
MxFocusable * mx_focusable_accept_focus (MxFocusable *focusable,MxFocusHint hint);
Accept the focus
MxFocusHint
mx_focus_hint_from_direction (MxFocusDirection direction);
Transforms a focus direction to a focus hint. This is a convenience
function for actors that implement the MxFocusable interface, to
pass the correct MxFocusHint to their children when calling
mx_focusable_accept_focus().
MX_FOCUS_DIRECTION_UP maps to MX_FOCUS_HINT_FROM_BELOW,
MX_FOCUS_DIRECTION_DOWN maps to MX_FOCUS_HINT_FROM_ABOVE,
MX_FOCUS_DIRECTION_LEFT maps to MX_FOCUS_HINT_FROM_RIGHT,
MX_FOCUS_DIRECTION_RIGHT maps to MX_FOCUS_HINT_FROM_LEFT,
MX_FOCUS_DIRECTION_NEXT maps to MX_FOCUS_HINT_FIRST,
MX_FOCUS_DIRECTION_PREVIOUS maps to MX_FOCUS_HINT_LAST and
anything else maps to MX_FOCUS_HINT_PRIOR.
Since 1.2