Hi,

A recent patch has changed the usage of Efl.Ui.Layout in order to avoid
conflicts with the context of the 'file' property used by this class in
order to set the theme group of the layout object.

In some classes which use layout functionality, 'file' refers to the file
loaded by the widget (e.g., an entry loading a text file), and thus setting
a file on an object which has both the layout and the widget
implementations would result in the widget using the theme file as its file
(e.g., the entry loads from or saves to the theme file).

To avoid issues with this, the class has been split:

Efl.Ui.Layout_Base contains all the base layout implementations and methods
and should be used by every class which wants to inherit/implement layout
functionality.

Efl.Ui.Layout remains the layout object which can be instantiated and used
normally.


If you are unsure about what this means, a general rule of thumb going
forward is to always use Efl.Ui.Layout_Base for all widget inheritance.


Mike

_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to