2019-09-06 06:08:27 -07:00
|
|
|
mixin Efl.Ui.Widget_Focus_Manager
|
|
|
|
requires Efl.Ui.Widget
|
2019-09-19 08:32:56 -07:00
|
|
|
composites Efl.Ui.Focus.Manager
|
2018-05-16 10:30:28 -07:00
|
|
|
{
|
2019-09-03 08:56:23 -07:00
|
|
|
[[Helper mixin for widgets which also can act as focus managers.
|
|
|
|
|
2019-03-22 08:25:22 -07:00
|
|
|
@since 1.22
|
|
|
|
]]
|
2018-05-16 10:30:28 -07:00
|
|
|
methods {
|
|
|
|
focus_manager_create @protected @pure_virtual {
|
|
|
|
[[If the widget needs a focus manager, this function will be called.
|
|
|
|
|
2019-09-03 08:56:23 -07:00
|
|
|
It can be used and overridden to inject your own manager or set
|
2018-05-16 10:30:28 -07:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|