HomePhabricator

efl_ui_item: use signals from the theme and not object

Authored by Marcel Hollerbach <mail@marcel-hollerbach.de> on Dec 17 2019, 1:07 AM.

Description

efl_ui_item: use signals from the theme and not object

the problem here is that when we are using the signals from the object,
then the edje object itself will receive press/unpress events before
any content that is swallowed into the edje object.

This means, that no clickable content, added to a item could be clicked
without selecting / unselecting the item. Which was a problem.

With this commit the theme is sending signals which are then passed to
the efl.input.clickable mixin, this way, the part is stacked below the
added content, which means, clickable content will not select / unselect
the item anymore.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10892

Details

Committed
cedricDec 20 2019, 10:33 AM
Differential Revision
D10892: efl_ui_item: use signals from the theme and not object
Parents
rEFL193ae1c14ceb: efl_ui_layout: add API to check out the theme_version
Branches
Unknown
Tags
Unknown
cedric committed rEFLc49880076c35: efl_ui_item: use signals from the theme and not object (authored by Marcel Hollerbach <mail@marcel-hollerbach.de>).Dec 20 2019, 10:33 AM