aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_layout.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_layout.eo')
-rw-r--r--src/lib/elementary/efl_ui_layout.eo81
1 files changed, 81 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_layout.eo b/src/lib/elementary/efl_ui_layout.eo
new file mode 100644
index 0000000000..510096c98a
--- /dev/null
+++ b/src/lib/elementary/efl_ui_layout.eo
@@ -0,0 +1,81 @@
+import efl_ui;
+
+class Efl.Ui.Layout (Efl.Ui.Widget, Efl.Part, Efl.Container, Efl.File,
+ Efl.Ui.View, Efl.Ui.Model.Connect, Efl.Ui.Factory,
+ Efl.Layout.Calc, Efl.Layout.Signal,
+ Efl.Layout.Group)
+{
+ [[Elementary layout class]]
+ methods {
+ @property theme {
+ [[The theme of this widget, defines which edje group will be used.
+
+ Based on the type of widget ($klass), a given $group and a
+ $style (usually "default"), the edje group name will be formed
+ for this object.
+
+ Widgets that inherit from this class will call this function
+ automatically so it should not be called by applications, unless
+ you are dealing directly with a @Efl.Ui.Layout object.
+ ]]
+ set {
+ [[Sets the edje group from the elementary theme that will be used
+ as layout. Note that $style will be the new style of this object,
+ as in an @Efl.Ui.Widget.style. As a consequence this function can
+ only be called during construction of the object, before finalize.
+
+ If this returns $false the widget is very likely to become
+ non-functioning.
+ ]]
+ return: Efl.Ui.Theme.Apply(0);
+ [[Whether the style was successfully applied or not, see
+ the values of @Efl.Ui.Theme.Apply for more information.]]
+ }
+ /*
+ TODO:
+ get {
+ [[Get information about the current theme in use.]]
+ }
+ */
+ values {
+ klass: string; [[The class of the group, eg. "button".]]
+ group: string("base"); [[The group, eg. "base".]]
+ style: string("default"); [[The style to use, eg "default".]]
+ }
+ }
+ }
+ implements {
+ class.constructor;
+ Efl.Object.constructor;
+ Efl.Object.finalize;
+ Efl.File.file { get; set; }
+ Efl.File.mmap { get; set; }
+ Efl.Canvas.Group.group_calculate;
+ Efl.Layout.Calc.calc_freeze;
+ Efl.Layout.Calc.calc_thaw;
+ Efl.Layout.Signal.signal_callback_add;
+ Efl.Layout.Signal.signal_callback_del;
+ Efl.Layout.Signal.signal_emit;
+ Efl.Layout.Signal.message_send;
+ Efl.Layout.Signal.signal_process;
+ Efl.Layout.Group.group_data { get; }
+ Efl.Layout.Group.group_size_min { get; }
+ Efl.Layout.Group.group_size_max { get; }
+ Efl.Layout.Group.part_exist { get; }
+ Efl.Ui.Widget.widget_sub_object_add;
+ Efl.Ui.Widget.theme_apply;
+ Efl.Ui.Widget.on_disabled_update;
+ Efl.Ui.Widget.widget_sub_object_del;
+ Efl.Ui.Focus.Object.on_focus_update;
+ Efl.Container.content_count;
+ Efl.Container.content_remove;
+ Efl.Container.content_iterate;
+ Efl.Part.part_get;
+ Efl.Ui.View.model { get; set; }
+ Efl.Ui.Model.Connect.connect;
+ Efl.Ui.Factory.model_connect;
+ }
+ events {
+ theme,changed: void; [[Called when theme changed]]
+ }
+}