2016-04-19 08:25:40 -07:00
|
|
|
import edje_types;
|
|
|
|
|
2017-08-07 19:48:31 -07:00
|
|
|
class Efl.Ui.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File,
|
2017-08-07 21:28:50 -07:00
|
|
|
Efl.Ui.View, Efl.Ui.Model.Connect, Efl.Ui.Model.Factory.Connect,
|
|
|
|
Efl.Canvas.Layout_Calc, Efl.Canvas.Layout_Signal,
|
|
|
|
Efl.Canvas.Layout_Group)
|
2014-03-16 06:43:07 -07:00
|
|
|
{
|
2016-11-21 08:54:12 -08:00
|
|
|
[[Elementary layout class]]
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_layout;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property theme {
|
2017-08-02 19:28:29 -07:00
|
|
|
[[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.
|
|
|
|
]]
|
2014-03-16 06:43:07 -07:00
|
|
|
set {
|
2017-08-02 19:28:29 -07:00
|
|
|
[[Sets the edje group from the elementary theme that will be used
|
2015-08-13 06:21:49 -07:00
|
|
|
as layout.
|
2014-03-16 06:43:07 -07:00
|
|
|
|
2017-08-02 19:28:29 -07:00
|
|
|
Note that $style will be the new style of this object, as in an
|
|
|
|
@Elm.Widget.style.
|
|
|
|
|
|
|
|
If this returns $false the widget is very likely to become
|
|
|
|
non-functioning.
|
2015-08-13 06:21:49 -07:00
|
|
|
]]
|
2016-11-21 08:54:12 -08:00
|
|
|
return: bool; [[$true on success, $false otherwise]]
|
2014-03-16 06:43:07 -07:00
|
|
|
}
|
|
|
|
values {
|
2017-08-02 19:28:29 -07:00
|
|
|
klass: string; [[The class of the group, eg. "button".]]
|
|
|
|
group: string("base"); [[The group, eg. "base".]]
|
|
|
|
style: string("default"); [[The style to used, eg "default".]]
|
2014-03-16 06:43:07 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.File.file { get; set; }
|
|
|
|
Efl.File.mmap { get; set; }
|
2016-06-17 01:26:08 -07:00
|
|
|
Efl.Canvas.Group.group_calculate;
|
2017-08-02 04:46:16 -07:00
|
|
|
Efl.Canvas.Layout_Calc.calc_freeze;
|
|
|
|
Efl.Canvas.Layout_Calc.calc_thaw;
|
2017-08-03 01:24:50 -07:00
|
|
|
Efl.Canvas.Layout_Signal.signal_callback_add;
|
|
|
|
Efl.Canvas.Layout_Signal.signal_callback_del;
|
|
|
|
Efl.Canvas.Layout_Signal.signal_emit;
|
2017-08-07 03:11:31 -07:00
|
|
|
Efl.Canvas.Layout_Signal.message_send;
|
|
|
|
Efl.Canvas.Layout_Signal.signal_process;
|
2017-08-03 02:22:29 -07:00
|
|
|
Efl.Canvas.Layout_Group.group_data { get; }
|
|
|
|
Efl.Canvas.Layout_Group.group_size_min { get; }
|
|
|
|
Efl.Canvas.Layout_Group.group_size_max { get; }
|
2015-04-22 04:33:10 -07:00
|
|
|
Elm.Widget.focus_direction;
|
|
|
|
Elm.Widget.sub_object_add;
|
|
|
|
Elm.Widget.theme_apply;
|
|
|
|
Elm.Widget.focus_direction_manager_is;
|
|
|
|
Elm.Widget.focus_next_manager_is;
|
|
|
|
Elm.Widget.focus_next;
|
|
|
|
Elm.Widget.disable;
|
|
|
|
Elm.Widget.sub_object_del;
|
|
|
|
Elm.Widget.on_focus;
|
2016-04-19 22:55:26 -07:00
|
|
|
Efl.Container.content_count;
|
2016-04-25 03:53:51 -07:00
|
|
|
Efl.Container.content_remove;
|
2016-04-19 22:55:26 -07:00
|
|
|
Efl.Container.content_iterate;
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.Container.content { get; set; }
|
2016-05-24 04:40:18 -07:00
|
|
|
Efl.Container.content_unset;
|
|
|
|
Efl.Part.part;
|
2017-01-31 12:17:58 -08:00
|
|
|
Efl.Ui.View.model { get; set; }
|
|
|
|
Efl.Ui.Model.Connect.connect;
|
|
|
|
Efl.Ui.Model.Factory.Connect.connect;
|
2014-03-16 06:43:07 -07:00
|
|
|
}
|
|
|
|
events {
|
2016-11-21 08:54:12 -08:00
|
|
|
theme,changed; [[Called when theme changed]]
|
2014-03-16 06:43:07 -07:00
|
|
|
}
|
|
|
|
}
|