2016-06-10 01:29:40 -07:00
|
|
|
class Elm.Frame (Elm.Layout, Efl.Ui.Clickable)
|
2014-03-18 00:01:28 -07:00
|
|
|
{
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_frame;
|
2014-03-18 00:01:28 -07:00
|
|
|
eo_prefix: elm_obj_frame;
|
2016-05-17 09:14:47 -07:00
|
|
|
event_prefix: elm_frame;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property collapse {
|
2014-03-18 00:01:28 -07:00
|
|
|
set {
|
2015-07-29 06:44:12 -07:00
|
|
|
[[Manually collapse a frame without animations
|
|
|
|
Use this to toggle the collapsed state of a frame, bypassing animations.
|
|
|
|
]]
|
2014-03-18 00:01:28 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-29 06:44:12 -07:00
|
|
|
[[Determine the collapse state of a frame
|
|
|
|
Use this to determine the collapse state of a frame.
|
|
|
|
]]
|
2014-03-18 00:01:28 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-29 06:44:12 -07:00
|
|
|
collapse: bool; [[$true to collapse, $false to expand.]]
|
2014-03-18 00:01:28 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property autocollapse {
|
2014-03-18 00:01:28 -07:00
|
|
|
set {
|
2015-07-29 06:44:12 -07:00
|
|
|
[[Toggle autocollapsing of a frame
|
|
|
|
When $enable is $true, clicking a frame's label will collapse the frame
|
|
|
|
vertically, shrinking it to the height of the label.
|
|
|
|
By default, this is DISABLED.
|
|
|
|
]]
|
2014-03-18 00:01:28 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-29 06:44:12 -07:00
|
|
|
[[Determine autocollapsing of a frame
|
2014-03-18 00:01:28 -07:00
|
|
|
|
2015-07-29 06:44:12 -07:00
|
|
|
When this returns $true, clicking a frame's label will collapse the frame
|
|
|
|
vertically, shrinking it to the height of the label.
|
|
|
|
By default, this is DISABLED.
|
|
|
|
]]
|
2014-03-18 00:01:28 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-29 06:44:12 -07:00
|
|
|
autocollapse: bool; [[Whether to enable autocollapse.]]
|
2014-03-18 00:01:28 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
collapse_go {
|
2015-07-29 06:44:12 -07:00
|
|
|
[[Manually collapse a frame with animations
|
|
|
|
Use this to toggle the collapsed state of a frame, triggering animations.
|
|
|
|
]]
|
2014-03-18 00:01:28 -07:00
|
|
|
params {
|
2015-07-29 06:44:12 -07:00
|
|
|
@in collapse: bool; [[$true to collapse, $false to expand.]]
|
2014-03-18 00:01:28 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-27 15:36:05 -07:00
|
|
|
Eo.Base.constructor;
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2016-06-17 01:26:08 -07:00
|
|
|
Efl.Canvas.Group.group_calculate;
|
|
|
|
Efl.Canvas.Group.group_add;
|
2015-04-22 04:33:10 -07:00
|
|
|
Elm.Widget.focus_direction;
|
|
|
|
Elm.Widget.focus_next_manager_is;
|
|
|
|
Elm.Widget.focus_next;
|
|
|
|
Elm.Widget.focus_direction_manager_is;
|
2015-04-22 04:37:40 -07:00
|
|
|
Elm.Layout.text_aliases.get;
|
|
|
|
Elm.Layout.content_aliases.get;
|
2014-03-18 00:01:28 -07:00
|
|
|
}
|
|
|
|
events {
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|