summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_layout_base.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_layout_base.eo')
-rw-r--r--src/lib/elementary/efl_ui_layout_base.eo95
1 files changed, 95 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_layout_base.eo b/src/lib/elementary/efl_ui_layout_base.eo
new file mode 100644
index 0000000..31cf703
--- /dev/null
+++ b/src/lib/elementary/efl_ui_layout_base.eo
@@ -0,0 +1,95 @@
1import efl_ui;
2import efl_orientation;
3
4abstract @beta Efl.Ui.Layout_Base extends Efl.Ui.Widget implements Efl.Container,
5 Efl.Ui.View, Efl.Ui.Property_Bind, Efl.Ui.Factory_Bind,
6 Efl.Layout.Calc, Efl.Layout.Signal,
7 Efl.Layout.Group
8{
9 [[Elementary layout abstract]]
10 eo_prefix: efl_ui_layout;
11 data: Efl_Ui_Layout_Data;
12 methods {
13 @property theme {
14 [[The theme of this widget, defines which edje group will be used.
15
16 Based on the type of widget ($klass), a given $group and a
17 $style (usually "default"), the edje group name will be formed
18 for this object.
19
20 Widgets that inherit from this class will call this function
21 automatically so it should not be called by applications, unless
22 you are dealing directly with a @Efl.Ui.Layout object.
23 ]]
24 set {
25 [[Sets the edje group from the elementary theme that will be used
26 as layout. Note that $style will be the new style of this object,
27 as in an @Efl.Ui.Widget.style. As a consequence this function can
28 only be called during construction of the object, before finalize.
29
30 If this returns $false the widget is very likely to become
31 non-functioning.
32 ]]
33 return: Eina.Error;
34 [[Whether the style was successfully applied or not, see
35 the values of Efl.Ui.Theme.Apply_Error for more information.]]
36 }
37 get {
38 [[Get information about the current theme in use.]]
39 }
40 values {
41 klass: string; [[The class of the group, eg. "button".]]
42 group: string("base"); [[The group, eg. "base".]]
43 style: string("default"); [[The style to use, eg "default".]]
44 }
45 }
46 @property automatic_theme_rotation @beta {
47 [[This flag tells if this object will automatically mirror the rotation changes of the window to this object.
48 ]]
49 values {
50 automatic : bool; [[$true to mirror orientation changes to the theme $false otherwise]]
51 }
52 }
53 theme_rotation_apply @beta {
54 [[Apply a new rotation value to this object.]]
55 params {
56 orientation : Efl.Orient; [[The new rotation value.]]
57 }
58 }
59 }
60 implements {
61 class.constructor;
62 Efl.Object.constructor;
63 Efl.Object.finalize;
64 Efl.Canvas.Group.group_calculate;
65 Efl.Layout.Calc.calc_freeze;
66 Efl.Layout.Calc.calc_thaw;
67 Efl.Layout.Calc.calc_auto_update_hints { get; set; }
68 Efl.Layout.Calc.calc_size_min;
69 Efl.Layout.Calc.calc_parts_extends;
70 Efl.Layout.Calc.calc_force;
71 Efl.Layout.Signal.signal_callback_add;
72 Efl.Layout.Signal.signal_callback_del;
73 Efl.Layout.Signal.signal_emit;
74 Efl.Layout.Signal.message_send;
75 Efl.Layout.Signal.signal_process;
76 Efl.Layout.Group.group_data { get; }
77 Efl.Layout.Group.group_size_min { get; }
78 Efl.Layout.Group.group_size_max { get; }
79 Efl.Layout.Group.part_exist { get; }
80 Efl.Ui.Widget.widget_sub_object_add;
81 Efl.Ui.Widget.theme_apply;
82 Efl.Ui.Widget.disabled {set;}
83 Efl.Ui.Widget.widget_sub_object_del;
84 Efl.Ui.Focus.Object.on_focus_update;
85 Efl.Container.content_count;
86 Efl.Container.content_iterate;
87 Efl.Part.part_get;
88 Efl.Ui.View.model { get; set; }
89 Efl.Ui.Property_Bind.property_bind;
90 Efl.Ui.Factory_Bind.factory_bind;
91 }
92 events {
93 theme,changed: void; [[Called when theme changed]]
94 }
95}