efl/src/lib/elementary/efl_ui_widget_focus_manager.eo

29 lines
771 B
Plaintext

mixin Efl.Ui.Widget_Focus_Manager
requires Efl.Ui.Widget
composites Efl.Ui.Focus.Manager
{
[[Helper mixin for widgets which also can act as focus managers.
@since 1.22
]]
methods {
focus_manager_create @protected @pure_virtual {
[[If the widget needs a focus manager, this function will be called.
It can be used and overridden to inject your own manager or set
custom options on the focus manager.
]]
params {
@in root: Efl.Ui.Focus.Object; [[The logical root object for focus.]]
}
return: Efl.Ui.Focus.Manager; [[The focus manager.]]
}
}
implements {
Efl.Object.constructor;
Efl.Object.destructor;
Efl.Ui.Widget.focus_state_apply;
}
}