HomePhabricator

widget: Remove part_text from EO

Authored by Jean-Philippe Andre <jp.andre@samsung.com> on Aug 30 2017, 2:14 AM.

Description

widget: Remove part_text from EO

It should be implemented as a efl_part() API.

For now I've only done a quick hack, as the only overrides were:

  • notify: already a Part implementation. Also it turns out the default theme does not even have any text part in the notify group.
  • combobox: not a Part implementation, but also very badly defined wrt. parts in general. efl_part() is handled by the parent class (button) which makes it tricky to override just for one function.

With this patch I'm trying to keep the same behaviour as earlier (where
efl_part() is used for layouts and there is a special path for
combobox).

Ref T5363

Jean-Philippe Andre <jp.andre@samsung.com> committed rEFLa2729d119d94: widget: Remove part_text from EO (authored by Jean-Philippe Andre <jp.andre@samsung.com>).Aug 30 2017, 2:33 AM