path: root/src/lib/elementary/elm_panel.eo (follow)
AgeCommit message (Collapse)Author
2019-03-07elm_panel: remove all legacy usage from eo filesMike Blumenkrantz
this takes the current generated output from eolian for legacy code in efl and adds it to the tree, then removes legacy references from the corresponding eo files. in the case where the entire eo file was for a legacy object, that eo file has been removed from the tree ref T7724 Reviewed-by: Cedric BAIL <> Differential Revision:
2019-03-04efl.ui.widget: widget_event -> widget_input_event_handlerMike Blumenkrantz
Summary: ref T7553 Depends on D8081 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7553 Differential Revision:
2019-02-28interfaces: don't inherit efl.ui.layout anymoreMike Blumenkrantz
Summary: this removes efl.file from the class hierarchy Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_api Differential Revision:
2019-02-27efl_ui_widget: redo disable handlingMike Blumenkrantz
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:
2019-01-18efl: convert all classes to the new eolian syntaxMarcel Hollerbach
ref T7459 Reviewed-by: Daniel Kolesa <> Reviewed-by: Xavi Artigas <> Differential Revision:
2019-01-02efl: rename Efl.Ui.Base -> Efl.Ui.I18n as that is really what it does.Cedric BAIL
Reviewed-by: Xavi Artigas <> Differential Revision:
2018-11-16elementary: remove Efl.Ui.Layout namespaceJaehyun Cho
Summary: Efl.Ui.Layout namespace is removed to keep consistency with other widgets. Consequently, "Efl.Ui.Layout.Object" is renamed to "Efl.Ui.Layout" and "Efl.Ui.Layout." is renamed to "Efl.Ui.Layout_". Reviewers: segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi Subscribers: #reviewers, #committers, SanghyeonLee, woohyun Tags: #efl Differential Revision:
2018-08-30elm_panel: fix mirrored_set work correctlyYeongjong Lee
Summary: When elm_panel isn't scrollable, It can't pass `if (!sid->edje_obj) return;` in _elm_interface_scrollable_efl_ui_base_mirrored_set. so elm_panel's mirrored_set didn't work. we neet to consider non-scrollable panel. Test Plan: 1. elementary_test 2. Open 'Panel' and 'Panel Scrollable' 3. Turn on UI-Mirroring on Elementary Tests window. 4. Check that mirror mode works correctly. Reviewers: Hermet, Jaehyun_Cho Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-05-24efl: major rewrite of efl_part.Cedric BAIL
The interface efl_part_get should not be directly called from C, but the efl_part wrapper should. It rely on efl_noref to properly destroy the object. Binding can control the lifecycle of the reference the way they want by either calling the wrapper or efl_part_get directly. It also means that the ugly ___efl_auto_unref_set doesn't need to be exposed outside of EFL anymore. Differential Revision:
2018-05-19efl: Add missing event typesXavi Artigas
Summary: All events must have a type now, otherwise bindings don't know how to handle the event_info field. Most of the missing event types were actually "void" (no event_info present). Some struct definitions had to be moved to eo instead of h files, so they are available to bindings. Some have not, and are marked with FIXME. Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb). In general, there are hundreds of changed files, but mostly to add a type which was not present before, so there's no harm done. Also, A lot of FIXMEs have been added which should be, like, fixed. For example, some events can send different types of event_info, which is very inconvenient (and error prone). Test Plan: make with c# bindings works, make check and make examples work too. Reviewers: cedric, q66, lauromoura Subscribers: zmike Tags: #efl Differential Revision:
2018-04-24Efl.Ui.Layout.Object (from Efl.Ui.Layout)Xavi Artigas
Ref Reviewed-by: Cedric Bail <>
2018-04-24Efl.Gfx.Entity (from Efl.Gfx)Xavi Artigas
Ref Reviewed-by: Cedric Bail <>
2018-01-24efl_ui_legacy: add new interface to indicate legacy widgetSungtaek Hong
Summary: For now, how to check whether a widget is legacy or not is to check flags in private data or static flag, which is set during elm_legacy_add. If Efl.Ui.Legacy interface is added, it can be easilly checked by efl_isa(obj, EFL_UI_LEGACY_INTERFACE) Reviewers: woohyun, jpeg, cedric, Jaehyun_Cho Subscribers: conr2d, cedric, jpeg Differential Revision:
2018-01-08widget: rename elm widget to Efl.Ui.Widget.Amitesh Singh
2017-11-16elm: Rename elm_interface_atspi_widget_action mixinLukasz Stanislawski
Reviewers: jpeg Subscribers: jenkins, cedric, jpeg Differential Revision:
2017-10-12widget: Rename focus_region (EO)Jean-Philippe Andre
This region has little to do with focus, as it's more of a region of interest within the widget, and not directly related to the highlight geometry, for instance. It's related to focus in the sense that only widgets with focus would really care about this region. I decided to change this name after talking with @bu5hm4n. Note that gengrid uses this but is also completely broken (the focus highlight floats around and you don't even see the focused item). Note: This is very close to show_region but I'm not sure those can be merged safely (since the default "focus_region" is NULL while the default "show_region" is the widget's geometry). Ref T5363
2017-10-10elm_panel: make it a layerMarcel Hollerbach
2017-08-29widget: Merge on_focus_region and focus_region_getJean-Philippe Andre
This simplifies code and API. Ref T5363
2017-08-29widget: Rename hook "access" (EO)Jean-Philippe Andre
This is also another protected and beta API. Meant to be overridden by subclasses, but belongs to a still unstable API. The difference between the internal legacy and the EO API is really bad. Same as with activate (previous commit). Ref T5363
2017-08-29widget: Rename hook "disable" (EO)Jean-Philippe Andre
Renamed to on_disabled_update. Also passed in the new state of disabled. It's more convenient this way, than having the subclasses call disabled_get. Also simplify some code... Ref T5363
2017-08-08elm: Rename elm_layout to Efl.Ui.LayoutJean-Philippe Andre
Some names have not been changed, hopefully making a distinction between legacy APIs and internal code (elm_layout_blah) and valid EO usages. This means many internal functions are still elm_layout_ as their sole purpose is to support the legacy API. Ref T5315
2017-08-08elm: Move elm_layout_sizing_eval to legacyJean-Philippe Andre
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
2017-05-19evas/elm: Make group_add/group_del internal functionsJean-Philippe Andre
This hides those two legacy functions from the EO API.
2017-01-05elm_panel: Add get function in scrollable_content_size propertyJEONGHYUN YUN
Summary: Added get function for getting the size of the scrollable panel. Additionally, added some exception handling code in scrollable_content_size_set Reviewers: woohyun, eunue Subscribers: cedric, jpeg Differential Revision:
2017-01-03Elm.Widget: rename "event.*" methods to solve name conflictJee-Yong Um
Summary: Elm.Widget.event_callback_add conflicts with Efl.Object.event_callback_add. To solve this problem, "widget_" prefix is added to methods starting with "event". Reviewers: cedric, jpeg Differential Revision:
2016-12-27elm: use new property implement syntax everywhereDaniel Kolesa
2016-11-24docs: elm: fill gaps in panel, photocam and progressbar eo file documentationStefan Schmidt
2016-10-12evas/elm: Remove function group_resizeJean-Philippe Andre
This is an override of efl_gfx_size_set. Same as before, the order of operations matter so it is possible that a corner case will break. In particular, legacy code was: - intercept - smart resize (do stuff), super, super, super - evas object resize The new code is more like: - intercept - super, super, super, evas object resize - do stuff But unfortunately this broke elm_widget (read: all widgets) as the internal resize was done before the object resize. So, inside the resize event cb, the resize_obj size would not match the smart object size. >_<
2016-10-12evas/elm: Remove function group_moveJean-Philippe Andre
This is an override of efl_gfx_position_set. As for the other patches, I hope I didn't break anything. A problem likely to happen is that the super call was inserted too early or too late in the call flow. For instance: _myclass_position_set(obj, x, y) { position_set(super(obj), x, y); position_get(obj, &prevx, &prevy); do_something_with_delta_xy(); } The above code flow is obvisouly wrong, but may have crept in this patch (such a bug sneaked in inside smart object, breaking everything at first).
2016-08-16elm_panel : add a toggled event triggered when panel toggled in any way.JEONGHYUN YUN
Summary: There are 2 ways to toogle the panel, by using elm_panel_toggle API and by interaction such as flick or click on panel. This toggled event can help us to know the time when the panel toggled by all case. Reviewers: woohyun, kimcinoo, Hermet, jypark Subscribers: cedric, jpeg Differential Revision:
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-06-17Evas: Rename smart object into Efl.Canvas.GroupJean-Philippe Andre
2016-06-17Evas: Add smart_ prefix to all smart functions (eo)Jean-Philippe Andre
This is a first step at separating legacy smart object features away from standard efl interfaces.
2016-05-26Efl: Remove part name in Efl.Container (use Efl.Part)Jean-Philippe Andre
This touches Edje and also Elementary where part names are used. This commit blew up in size since now all content part APIs (get, set, unset) require to use Efl.Part instead. This is a big refactoring commit, but no logic should have been changed. Fingers crossed.
2016-05-12Add legacy_prefix now that the default has changed to null.Tom Hacohen
2016-05-12Elm interface atspi: Fix namespacing to use . and not _.Tom Hacohen
2016-05-12Evas object smart: Fix namespace to use . and not _.Tom Hacohen
2016-04-26Efl: Introduce Efl.Container and unify APIsJean-Philippe Andre
This removes Efl.Pack_Named which had a terrible name, removes Elm.Container which should have been renamed Efl.Ui.Container anyway, and introduces an interface Efl.Container instead. The hierarchy tree is now changed as objects don't inherit from Efl.Container (it's an interface, not a regular class) but only implement it. Obviously it is very easy to reintroduce an Efl.Ui.Container parent class if we need it, but I guess it should have some actual logic. It's basically part of what Elm.Widget already does. Some function names have been modified to look better in C with the efl_content prefix. @feature
2016-03-29elm: make content_get/set a propertyJean-Philippe Andre
This doesn't change the C code.
2016-03-23elementary: move all legacy files to their expected new location.Cedric BAIL