efl/src/lib/elementary/efl_ui_frame.eo

56 lines
1.7 KiB
Plaintext
Raw Normal View History

class @beta Efl.Ui.Frame extends Efl.Ui.Layout_Base implements Efl.Input.Clickable, Efl.Text, Efl.Text_Markup,
Efl.Content
2014-03-18 00:01:28 -07:00
{
[[Frame widget
The Frame widget allows for collapsing and expanding the content widget
by clicking on the frame label.
the label and content can be set using text_set and content_set api.
]]
2015-05-07 09:32:53 -07:00
methods {
@property collapse {
[[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
set {
}
get {
}
values {
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 {
[[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
set {
}
get {
}
values {
autocollapse: bool; [[Whether to enable autocollapse.]]
2014-03-18 00:01:28 -07:00
}
}
collapse_go {
[[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 {
@in collapse: bool; [[$true to collapse, $false to expand.]]
2014-03-18 00:01:28 -07:00
}
}
}
implements {
Efl.Object.constructor;
Efl.Canvas.Group.group_calculate;
Efl.Text.text { get; set; }
Efl.Text_Markup.markup { get; set; }
Efl.Ui.L10n.l10n_text { get; set; }
Efl.Content.content { get; set; }
Efl.Content.content_unset;
2014-03-18 00:01:28 -07:00
}
}