path: root/src/lib/elementary/efl_ui_list.c (follow)
AgeCommit message (Collapse)Author
2019-07-25elementary: use data:null to remove unecessary structure declaration.Cedric BAIL
Reviewed-by: Marcel Hollerbach <> Differential Revision:
2019-07-25rename efl_ui_item_container -> efl_ui_collectionMarcel Hollerbach
this is the first rename of the main widget, the renames of the test suites will follow Reviewed-by: Cedric BAIL <> Differential Revision:
2019-07-25efl_ui_list_item: remove thisMarcel Hollerbach
this has nothing usefull in it. Additionally, future commits will brings up another design where there is a central default item style, which can be hinted. Reviewed-by: Cedric BAIL <> Differential Revision:
2019-07-24efl_ui_grid/list: fix buildMarcel Hollerbach
wrong header file + wrong class define. That was forgotten to be pushed with the commits before, sorry.
2019-07-24efl_ui_list: make it work with item_containerMarcel Hollerbach
This also refactors the example a little bit. Reviewed-by: Cedric BAIL <> Differential Revision:
2019-07-11efl_ui_list: fix warningsMarcel Hollerbach
Summary: nothing to see here, move on! Reviewers: zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2019-07-11efl_ui_item: remove internal pointer to select_modeMarcel Hollerbach
there was this internal pointer to select_mode for getting the selection mode of the container. However, we now have API for checking this, so there is exactly 0 reason for doing this like this. Additionally, with the old way of doing, bildings like C# or lua are just lost, they cannot use this class at all in there implementations, as they cannot access the privat data. ref T905 Reviewed-by: SangHyeon Jade Lee <> Differential Revision:
2019-07-11efl_ui_item: rework parent relationMarcel Hollerbach
this commit ensures that there is a public way of setting the container to a item. This was also like this before, just with the difference that it was set and unset in all privacy, however, we want to have this class also ready for bindings, so we should stop making things privat like this. Note: the removed fields from grid and list have not been used. ref T7905 Reviewed-by: SangHyeon Jade Lee <> Differential Revision:
2019-05-24Rename Efl.Ui.Direction -> Efl.Ui.Layout_OrientationXavi Artigas
Summary: This clarifies a bit the whole Orientation vs. Direction confusion, at the expense of longer names (Image_Orientation vs. Layout_Orientation). Also, the interfaces are now adjectives (Orientable) and the enums have long names (*_Orientation). Pretty big patch, but no functional changes. Relates to T7863 Test Plan: Everything builds and passes tests. Elementary_tests show same behavior, including the "inverted" widgets, which are the only parts which received a bit of code changes. Proof: Reviewers: zmike, bu5hm4n, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision:
2019-04-26efl_pack: split algin and padding propertyMarcel Hollerbach
the pack interface is a general interface for how we pack things into a container. the align and padding property has less to nothing to do with this. Hence this commit splits the two properties into theire own interface. fix T7825 Reviewed-by: Xavi Artigas <> Differential Revision:
2019-04-11efl_ui_list: fix to delete sub objects in efl_object_invalidateJaehyun Cho
widget's sub objects and callbacks should be deleted in efl_object_invalidate instead of efl_object_destructor. @fix
2019-04-06elementary: fix not to call duplicate theme setJaehyun Cho
Theme is set during finalize in Efl.Ui.Layout_Base. Therefore, it is not necessary to call theme set function if the widget inherits Efl.Ui.Layout_Base and its klass is properly set. Reviewed-by: Cedric BAIL <> Differential Revision:
2019-03-19efl_ui: rename select and unselected of efl_ui_selectableMarcel Hollerbach
Summary: this was conflicting with a model event. Prefixing it with "item," resolves this, and describes better what it does. Depends on D8413 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2019-03-19Revert "efl_ui_selectable: namespace events to avoid conflicts"Marcel Hollerbach
Summary: This reverts commit f629f11bedad7b137b012d36102ad5bb1f2b4b4f. This breaks legacy events. As the selected event is used in legacy widgets. Also this commits mixed up two different concepts, selection in a entry etc. and selection of a item. Depends on D8411 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2019-03-08efl_ui_selectable: namespace events to avoid conflictsMike Blumenkrantz
Reviewed-by: Cedric BAIL <> Differential Revision:
2019-03-06efl_ui_multi_selectable: remove all legacy usage from eo filesMike Blumenkrantz
this takes the current generated output from eolian for legacy code in evas 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: remove Efl.Ui.Theme_Apply_ErrorMike Blumenkrantz
Summary: now that the error codes have been change to be compatible with eina_error, this can be removed and will work through eina_error naturally fix T7718 Depends on D8067 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7718 Differential Revision:
2019-03-04efl.ui: Efl.Ui.Theme_Apply_Result -> Efl.Ui.Theme_Apply_ErrorMike Blumenkrantz
Summary: this swaps the values of "no error" and "error" in order to maintain consistency with the rest of efl where the zero value means "no error" Depends on D8060 Reviewers: cedric Reviewed By: cedric Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_api Differential Revision:
2019-02-22api: rename efl.gfx.entity geometry events and add geometry data to those eventsMike Blumenkrantz
the convention for event naming is to use $property,changed where possible and to always emit related data with the event to reduce function calls ref T7558 Reviewed-by: Marcel Hollerbach <> Differential Revision:
2019-02-21api: efl.gfx.hints.change,size,hints -> efl.gfx.hints.hints,changedMike Blumenkrantz
Summary: this is consistent with other "changed" event naming ref T7563 Depends on D7977 Reviewers: segfaultxavi, cedric, bu5hm4n Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7563 Differential Revision:
2019-02-21api: efl.gfx.size_hints -> efl.gfx.hintsMike Blumenkrantz
Summary: these hints are not strictly size-related, so renaming them is more consistent with their actual function ref T7563 Depends on D7968 Reviewers: segfaultxavi, cedric, bu5hm4n Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7563 Differential Revision:
2019-02-13Remove individual class BETA guardsXavi Artigas
Summary: Eolian adds a per-class BETA guard (like EFL_UI_WIN_BETA) to any method tagged as @beta. This means that any app (and the EFL code) wanting to use BETA features has to enable them class by class, which is cumbersome. This commit replaces the individual guards with the global EFL_BETA_API_SUPPORT guard, so apps only need to define one symbol to access BETA features. Any usage of the per-class guards has been removed from the EFL code and examples. When building EFL the global guard is defined by configure, so all EFL methods already have access to BETA API. Efl_Core.h and Efl_Ui.h no longer define EFL_BETA_API_SUPPORT. Apps wanting to use BETA API have to define this symbol before including any EFL header (It has been added to the examples requiring it). Test Plan: make && make check && make examples still work, but there's a lot less #defines in the code Reviewers: zmike, bu5hm4n, q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T6788 Differential Revision:
2019-02-06edje: migrate Eo API to use Eo callback instead of opaque type.Cedric BAIL
Summary: Depends on D7869 Reviewers: zmike, q66, segfaultxavi, bu5hm4n Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7671 Differential Revision:
2018-11-28efl_ui_scrollable: implement efl_ui_scrollable_content_pos_get method.Hosang Kim
Summary: Applications want to know current position on scroller. Also, it is necessary when calculate position of focusable object. Reviewers: herdsman, akanad, YOhoho, bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-11-20efl_ui_theme: Introduce Efl.Ui.Theme classJaehyun Cho
Summary: Efl.Ui.Theme class is required to support language bindings. Efl.Ui.Theme works based on current elm_theme features. This patch fixes T7357. Reviewers: segfaultxavi, cedric, lauromoura, woohyun, zmike, SanghyeonLee Reviewed By: segfaultxavi, SanghyeonLee Subscribers: SanghyeonLee, herdsman, #reviewers, #committers Tags: #efl Maniphest Tasks: T7357 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-09-27efl_ui_list: fix wrong variable usageYeongjong Lee
Reviewers: SanghyeonLee, Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-09-21efl_ui_list: Add return value checkJunsuChoi
Summary: efl_ui_layout_object_theme_set without checking return value. so add return value check and log message. Test Plan: N/A Reviewers: SanghyeonLee, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: Hermet, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-09-21efl_ui_list: Return function if data get is failedJaehyun Cho
Summary: Check data and return function if data get is failed. Reviewers: SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-04-28efl_ui_list : introduce new list widget for simple usageSangHyeon Lee
Summary: most usage of simple list, items are very limited and loading performance is not serious. to support those requirement, this efl.ui.list will create scrollable box with efl.pack. user can create list by packing an pre-loaded item object, Efl.Ui.List.Item class. Test Plan: tested in efl_ui_list_example_1.c in examples. Reviewers: cedric, felipealmeida Subscribers: woohyun, Jaehyun_Cho Differential Revision:
2018-04-04efl_ui_view_list : change the name of Model based listSangHyeon Lee
Summary: model based list need to be under the namespace of 'Efl.Ui.View". thus, I renamed 'Efl.Ui.List' to 'Efl.Ui.View.List' properly. Test Plan: N/A Reviewers: cedric, felipealmeida Differential Revision:
2018-03-29efl_add_ref - fis to use efl_add properly with a parent.Carsten Haitzler (Rasterman)
fixes bc18b7e7ad1f8c5d587400b27fabab0865017011 and 168849e8a08966ecc284e28f64126a3a85965965
2018-03-20efl: use efl_add_ref to create objects which have no parentCedric BAIL
Signed-off-by: Mike Blumenkrantz <>
2018-02-15Efl.Access.Selection: clear -> access_selection_clearMike Blumenkrantz
maybe there should be a text selection interface...
2018-02-15Efl.Access: resolve more name conflictsMike Blumenkrantz
children -> access_children type -> access_type
2018-02-15Efl.Ui.List.Model: size -> model_sizeMike Blumenkrantz
2018-02-15Elementary: remove needless structs in Efl_Ui_ListLarry Jr
2018-02-15elementary: efl_ui_list change SegArray tree to Efl.ObjectLarry Jr
2018-02-15elementary: efl_ui_list focus manager fixLarry Jr
fixed focus changed with keyboard fixed scroll in focus fixed focus in example
2018-01-08widget: rename elm widget to Efl.Ui.Widget.Amitesh Singh
2017-12-22Efl.Ui.List: fix compiler warning.Amitesh Singh
2017-12-20elm: apply new scroll interface in efl_ui_listSangHyeon Lee
Summary: Apply new scroll inteface in efl_ui_list. Test Plan: tested by examples Reviewers: jpeg, eagleeye Subscribers: cedric Differential Revision:
2017-12-13efl-cxx: Fixes to make distFelipe Magno de Almeida
2017-12-13elementary: Add efl_ui_list widgetFelipe Magno de Almeida