diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-01-23 14:55:17 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-01-23 14:55:17 -0500 |
commit | 83b8862bc43c33c323c10aedfe46258698aab836 (patch) | |
tree | f47fe51a8ebd07c910aab9c615b3d65f0307414f | |
parent | 5289bd2e93b3e3705b52d16b5575ed5801d5b1c6 (diff) | |
download | efl-83b8862bc43c33c323c10aedfe46258698aab836.tar.gz |
efl_ui_focus_object: provide empty on_focus_update function.
Summary:
there is no point in forcing users of this to implement on_focus_update.
ref T7652
Depends on D7733
Reviewers: cedric, zmike, stefan_schmidt
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7652
Differential Revision: https://phab.enlightenment.org/D7734
-rw-r--r-- | src/lib/elementary/efl_ui_focus_object.eo | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_focus_object.eo b/src/lib/elementary/efl_ui_focus_object.eo index 0058be0d11..1ac6e0fd36 100644 --- a/src/lib/elementary/efl_ui_focus_object.eo +++ b/src/lib/elementary/efl_ui_focus_object.eo @@ -70,7 +70,7 @@ mixin Efl.Ui.Focus.Object prepare_logical_none_recursive @protected { [[]] } - on_focus_update @protected @pure_virtual { + on_focus_update @protected { [[Virtual function handling focus in/out events on the widget]] return: bool; [[$true if this widget can handle focus, $false otherwise]] } @@ -80,6 +80,7 @@ mixin Efl.Ui.Focus.Object @empty .prepare_logical_none_recursive; @empty .focus_manager; @empty .focus_parent; + @empty .on_focus_update; } events { focus,changed : bool; [[Emitted if the focus state has changed]] |