efl/src
Marcel Hollerbach a1addad60e efl_ui_widget: refactor sub_object handling
efl_ui_widget has a property called widget_parent. The setter for this
function is called is exactly once, and this is within the constructor,
to a value which is not even set to the actaul field parent_obj. Which
shows, that in the sitation right now, the setter of the property is a
bit disconnected and lags some real aspects.
As we are heading towards eo-api stabilization we should beat some sense
into this setter, as people using our classes might overwrite the setter
and except calls to it, whenever the widget_parent is changed, and
implementation as in elm_menu show that this might makes sense sometime.

In order to achive this, the sub_object registering code of elm is
adjusted a bit.
sub_object_add/del is now used to differenciate between evas objects and
efl.ui.widget objects as subobject. In case of a widget, the
widget_parent of this object is set, most of the widget specific code is
then executed in the actaul setter. In case of an evas object, the
parent reference is added. In the end both end up in the subobject
children list. The later is also a requirement for widget_parent_set to
be successfull.

ref T7553

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8031
2019-03-09 11:12:26 +01:00
..
benchmarks eo: remove class functions from eo 2019-02-13 16:59:59 +01:00
bin eo: make reflection getter const function. 2019-03-08 14:31:08 -08:00
bindings eolian: remove legacy handling API and most of generation 2019-03-08 10:12:09 -05:00
edje_external
examples efl_ui_selectable: namespace events to avoid conflicts 2019-03-08 12:17:54 -08:00
generic replace hton and ntoh family functions with ones defined in eina 2019-02-01 14:25:35 +00:00
lib efl_ui_widget: refactor sub_object handling 2019-03-09 11:12:26 +01:00
modules Revert "Emile: Move colorspaces to Efl.Gfx" 2019-03-08 12:06:20 -08:00
scripts efl.loop_timer: rename all methods/properties/events 2019-03-08 16:38:46 +01:00
static_libs evas vg: don't access a dangling pointer. 2019-02-27 19:13:18 +09:00
tests eo: make reflection getter const function. 2019-03-08 14:31:08 -08:00
wayland_protocol
Makefile.am efl-csharp: Remove legacy Evas bindings. 2019-02-25 19:21:04 -03:00
Makefile_Cxx.am
Makefile_EPhysics.am
Makefile_Ecore.am build: ensure correct headers are installed 2019-03-07 14:16:55 -08:00
Makefile_Ecore_Audio.am
Makefile_Ecore_Avahi.am
Makefile_Ecore_Buffer.am
Makefile_Ecore_Cocoa.am
Makefile_Ecore_Con.am ecore-con: remove all legacy usage from eo files 2019-03-06 19:05:49 +01:00
Makefile_Ecore_Drm.am
Makefile_Ecore_Drm2.am
Makefile_Ecore_Evas.am
Makefile_Ecore_FB.am
Makefile_Ecore_File.am
Makefile_Ecore_IMF.am
Makefile_Ecore_IMF_Evas.am
Makefile_Ecore_Input.am
Makefile_Ecore_Input_Evas.am
Makefile_Ecore_Ipc.am
Makefile_Ecore_Js.am
Makefile_Ecore_SDL.am
Makefile_Ecore_Wayland.am
Makefile_Ecore_Win32.am
Makefile_Ecore_Wl2.am
Makefile_Ecore_X.am
Makefile_Ector.am Revert "Emile: Move colorspaces to Efl.Gfx" 2019-03-08 12:06:20 -08:00
Makefile_Edje.am edje_edit: remove all legacy usage from eo files 2019-03-06 13:03:00 -08:00
Makefile_Edje_Helper.am
Makefile_Eet.am
Makefile_Eet_Helper.am
Makefile_Eeze.am
Makefile_Efl.am efl/interfaces: remove all legacy usage from eo files 2019-03-06 13:02:45 -08:00
Makefile_Efl_Js.am
Makefile_Efl_Mono.am elm_web: remove all legacy usage from eo files 2019-03-07 14:16:39 -08:00
Makefile_Efl_Mono_MSBuild_Gen_Helper.am
Makefile_Efreet.am efreet: fix build error by using PACKAGE_SYSCONF_DIR 2019-01-04 15:16:19 +09:00
Makefile_Eina.am build: remove eina-bench-cmp from DIST list 2019-01-30 13:32:04 +01:00
Makefile_Eio.am efl_model : rename all efl_model based classes. 2019-01-31 14:59:37 +09:00
Makefile_Eldbus.am
Makefile_Elementary.am tests: add test for legacy-only build in elm_suite 2019-03-08 09:02:00 -05:00
Makefile_Elocation.am
Makefile_Elput.am
Makefile_Elua.am tests: fix elua test with autotools 2019-02-21 21:53:25 +01:00
Makefile_Elua_Helper.am
Makefile_Embryo.am
Makefile_Emile.am
Makefile_Emotion.am emotion: remove all legacy usage from eo files 2019-03-06 13:02:34 -08:00
Makefile_Eo.am eo: lets drop efl_interfaces 2019-02-08 10:27:27 +01:00
Makefile_Eolian.am eolian: remove legacy handling API and most of generation 2019-03-08 10:12:09 -05:00
Makefile_Eolian_Cxx.am eolian_cxx: make address_of test not use multiclass inheritance 2019-01-17 16:14:46 +01:00
Makefile_Eolian_Cxx_Helper.am
Makefile_Eolian_Files_Helper.am
Makefile_Eolian_Helper.am
Makefile_Eolian_Js.am
Makefile_Eolian_Js_Helper.am
Makefile_Eolian_Mono_Helper.am efl-mono: Enable selecting to build @beta items 2019-01-17 21:45:49 +09:00
Makefile_Escape.am
Makefile_Ethumb.am
Makefile_Ethumb_Client.am
Makefile_Evas.am build: ensure correct headers are installed 2019-03-07 14:16:55 -08:00
Makefile_Evil.am
Makefile_Wayland_Protocols.am
Makefile_efl_wl.am