HomePhabricator

elm: Remove custom layout signal APIs

Authored by Jean-Philippe Andre <jp.andre@samsung.com> on Aug 3 2017, 1:24 AM.

Description

elm: Remove custom layout signal APIs

This merges them with the now standard interface:

Efl.Canvas.Layout_Signal

Some wrapping work was required for legacy API which
takes no user_data in del() but instead returns it. The
new EO function, while harder to use, is more correct
(you can't delete the invalid callback by accident, and
this follows EO events design).

Another crazy wrapping was done in entry/text in order
to add the callbacks to 2 objects instead of just one,
and still return the user data.

As for Naviframe and Popup, those two widgets override
signal_emit to forward the call to another object than
the resize object, but not callback_add/del. So they
are definitely broken.

Ref T5315

Jean-Philippe Andre <jp.andre@samsung.com> committed rEFL3e5cfb83c092: elm: Remove custom layout signal APIs (authored by Jean-Philippe Andre <jp.andre@samsung.com>).Aug 3 2017, 7:52 PM