diff options
Diffstat (limited to 'src/lib/elementary/efl_ui_layout.eo')
-rw-r--r-- | src/lib/elementary/efl_ui_layout.eo | 80 |
1 files changed, 4 insertions, 76 deletions
diff --git a/src/lib/elementary/efl_ui_layout.eo b/src/lib/elementary/efl_ui_layout.eo index 350fac5..35f239e 100644 --- a/src/lib/elementary/efl_ui_layout.eo +++ b/src/lib/elementary/efl_ui_layout.eo | |||
@@ -1,85 +1,13 @@ | |||
1 | import efl_ui; | 1 | import efl_ui; |
2 | 2 | ||
3 | class @beta Efl.Ui.Layout extends Efl.Ui.Widget implements Efl.Container, Efl.File, | 3 | class @beta Efl.Ui.Layout extends Efl.Ui.Layout_Base implements Efl.File |
4 | Efl.Ui.View, Efl.Ui.Property_Bind, Efl.Ui.Factory_Bind, | ||
5 | Efl.Layout.Calc, Efl.Layout.Signal, | ||
6 | Efl.Layout.Group | ||
7 | { | 4 | { |
8 | [[Elementary layout class]] | 5 | [[Elementary layout class]] |
9 | methods { | 6 | data: null; |
10 | @property theme { | ||
11 | [[The theme of this widget, defines which edje group will be used. | ||
12 | |||
13 | Based on the type of widget ($klass), a given $group and a | ||
14 | $style (usually "default"), the edje group name will be formed | ||
15 | for this object. | ||
16 | |||
17 | Widgets that inherit from this class will call this function | ||
18 | automatically so it should not be called by applications, unless | ||
19 | you are dealing directly with a @Efl.Ui.Layout object. | ||
20 | ]] | ||
21 | set { | ||
22 | [[Sets the edje group from the elementary theme that will be used | ||
23 | as layout. Note that $style will be the new style of this object, | ||
24 | as in an @Efl.Ui.Widget.style. As a consequence this function can | ||
25 | only be called during construction of the object, before finalize. | ||
26 | |||
27 | If this returns $false the widget is very likely to become | ||
28 | non-functioning. | ||
29 | ]] | ||
30 | return: Efl.Ui.Theme_Apply_Result(0); | ||
31 | [[Whether the style was successfully applied or not, see | ||
32 | the values of @Efl.Ui.Theme_Apply_Result for more information.]] | ||
33 | } | ||
34 | /* | ||
35 | TODO: | ||
36 | get { | ||
37 | [[Get information about the current theme in use.]] | ||
38 | } | ||
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 | } | ||
47 | implements { | 7 | implements { |
48 | class.constructor; | ||
49 | Efl.Object.constructor; | ||
50 | Efl.Object.finalize; | ||
51 | Efl.File.file { get; set; } | 8 | Efl.File.file { get; set; } |
9 | Efl.File.key { get; set; } | ||
52 | Efl.File.mmap { get; set; } | 10 | Efl.File.mmap { get; set; } |
53 | Efl.Canvas.Group.group_calculate; | 11 | Efl.File.load; |
54 | Efl.Layout.Calc.calc_freeze; | ||
55 | Efl.Layout.Calc.calc_thaw; | ||
56 | Efl.Layout.Calc.calc_auto_update_hints { get; set; } | ||
57 | Efl.Layout.Calc.calc_size_min; | ||
58 | Efl.Layout.Calc.calc_parts_extends; | ||
59 | Efl.Layout.Calc.calc_force; | ||
60 | Efl.Layout.Signal.signal_callback_add; | ||
61 | Efl.Layout.Signal.signal_callback_del; | ||
62 | Efl.Layout.Signal.signal_emit; | ||
63 | Efl.Layout.Signal.message_send; | ||
64 | Efl.Layout.Signal.signal_process; | ||
65 | Efl.Layout.Group.group_data { get; } | ||
66 | Efl.Layout.Group.group_size_min { get; } | ||
67 | Efl.Layout.Group.group_size_max { get; } | ||
68 | Efl.Layout.Group.part_exist { get; } | ||
69 | Efl.Ui.Widget.widget_sub_object_add; | ||
70 | Efl.Ui.Widget.theme_apply; | ||
71 | Efl.Ui.Widget.on_disabled_update; | ||
72 | Efl.Ui.Widget.widget_sub_object_del; | ||
73 | Efl.Ui.Focus.Object.on_focus_update; | ||
74 | Efl.Container.content_count; | ||
75 | Efl.Container.content_remove; | ||
76 | Efl.Container.content_iterate; | ||
77 | Efl.Part.part_get; | ||
78 | Efl.Ui.View.model { get; set; } | ||
79 | Efl.Ui.Property_Bind.property_bind; | ||
80 | Efl.Ui.Factory_Bind.factory_bind; | ||
81 | } | ||
82 | events { | ||
83 | theme,changed: void; [[Called when theme changed]] | ||
84 | } | 12 | } |
85 | } | 13 | } |