path: root/src/lib/elementary/elm_panel.eo
diff options
authorMike Blumenkrantz <>2019-02-27 14:00:14 -0500
committerMarcel Hollerbach <>2019-02-27 20:19:23 +0100
commit0b152734ba13d46155b2c1dcc98cd13c79fc804c (patch)
treec561dfae458ad5c53f2f44f2c20db81d28a61167 /src/lib/elementary/elm_panel.eo
parent98b4a7bfa74201cccacd62cb84230a194fa8c697 (diff)
efl_ui_widget: redo disable handling
before the disable property was a bit weird. Setting something to disabled=true will disable all children of the widget that is changed. However, only the update function of the children will get the false flag, not the flag itself. Which means, to query the real disabled state, we need to walk up the parent relations. With this patch, every change to disabled will go through the disabled property, which mean, a implementor can just overwrite the disabled property, and adjust its internal state there. Just be carefull, a set to disabled=true still might result in disabled=false. This makes the function on_disable_update unneccesary. Which also cleans up the Efl.Ui.Widget class. ref T7553 Depends on D8016 Reviewed-by: Mike Blumenkrantz <> Differential Revision:
Diffstat (limited to 'src/lib/elementary/elm_panel.eo')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_panel.eo b/src/lib/elementary/elm_panel.eo
index 05ae83760a..f689607290 100644
--- a/src/lib/elementary/elm_panel.eo
+++ b/src/lib/elementary/elm_panel.eo
@@ -80,7 +80,7 @@ class Elm.Panel extends Efl.Ui.Layout implements Efl.Ui.Focus.Layer, Elm.Interfa
80 Efl.Gfx.Entity.size { set; } 80 Efl.Gfx.Entity.size { set; }
81 Efl.Canvas.Group.group_member_add; 81 Efl.Canvas.Group.group_member_add;
82 Efl.Ui.Widget.theme_apply; 82 Efl.Ui.Widget.theme_apply;
83 Efl.Ui.Widget.on_disabled_update; 83 Efl.Ui.Widget.disabled {set;}
84 Efl.Ui.Widget.on_access_update; 84 Efl.Ui.Widget.on_access_update;
85 Efl.Ui.Widget.widget_event; 85 Efl.Ui.Widget.widget_event;
86 Efl.Ui.Widget.interest_region { get; } 86 Efl.Ui.Widget.interest_region { get; }