path: root/src/lib/elementary/elm_panel.eo
diff options
authorJean-Philippe Andre <>2017-08-07 16:13:38 +0900
committerJean-Philippe Andre <>2017-08-08 11:10:56 +0900
commit6864495c993ce38cd0768b98eb41c617b32935e8 (patch)
tree535fd646b472d1d86b4b1f5305055b30fc14c33c /src/lib/elementary/elm_panel.eo
parentb7840d9177b32f480087bd7f062cc66ab2583485 (diff)
elm: Move elm_layout_sizing_eval to legacy
elm_layout_sizing_eval() marks an object as requiring recalc. Unfortunately, it's been massively abused by various widgets into actually doing the calc, or the min calc. So we end up with one API that has 3 different definitions depending on the widget type: 1. Mark as requiring recalc (correct, respects doc, elm_layout) 2. Calculate min size and other size hints 3. Actually do some geometry modification I believe we need to clarify these 3 requirements into 3 very clear and specific APIs in elementary. Right now we have similar functions in evas for 1 (evas_object_smart_changed) and 3 (smart_calculate). But their exact definition also isn't necessarily what we want for elementary. Another clear problem is that layout_eval does not do any calculation (in theory), so the "eval" word is a bit of a stretch here. Once we're sure about the exact API we want, we can add this back to EO and make it work across our EO widgets. For now let's just keep the legacy API, and its EO overrides, as is. Ref T5315
Diffstat (limited to 'src/lib/elementary/elm_panel.eo')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_panel.eo b/src/lib/elementary/elm_panel.eo
index 7631a025f6..202c6ca043 100644
--- a/src/lib/elementary/elm_panel.eo
+++ b/src/lib/elementary/elm_panel.eo
@@ -86,7 +86,6 @@ class Elm.Panel (Elm.Layout, Elm.Interface_Scrollable,
86 Elm.Widget.access; 86 Elm.Widget.access;
87 Elm.Widget.widget_event; 87 Elm.Widget.widget_event;
88 Elm.Widget.on_focus_region; 88 Elm.Widget.on_focus_region;
89 Elm.Layout.sizing_eval;
90 Elm.Interface.Atspi_Widget_Action.elm_actions { get; } 89 Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
91 Efl.Part.part; 90 Efl.Part.part;
92 } 91 }