efl/src/lib/elementary/elm_panel.eo

95 lines
2.4 KiB
Plaintext
Raw Normal View History

enum Elm.Panel.Orient
{
2015-06-11 08:39:33 -07:00
[[Panel orientation mode]]
2015-06-11 08:39:33 -07:00
top, [[Panel (dis)appears from the top]]
bottom, [[Panel (dis)appears from the bottom]]
left, [[Panel (dis)appears from the left]]
right [[Panel (dis)appears from the right]]
}
class Elm.Panel extends Efl.Ui.Layout implements Efl.Ui.Focus.Layer, Elm.Interface_Scrollable,
Efl.Access.Widget.Action, Efl.Ui.Legacy
2014-03-24 01:38:01 -07:00
{
[[Elementary panel class]]
legacy_prefix: elm_panel;
2014-03-24 01:38:01 -07:00
eo_prefix: elm_obj_panel;
event_prefix: elm_panel;
2015-05-07 09:32:53 -07:00
methods {
@property orient {
2014-03-24 01:38:01 -07:00
set {
2015-07-31 07:17:40 -07:00
[[Set the orientation of the panel
2014-03-24 01:38:01 -07:00
2015-07-31 07:17:40 -07:00
Set from where the panel will (dis)appear.
]]
2014-03-24 01:38:01 -07:00
}
get {
2015-07-31 07:17:40 -07:00
[[Get the orientation of the panel.]]
2014-03-24 01:38:01 -07:00
}
values {
2015-07-31 07:17:40 -07:00
orient: Elm.Panel.Orient(Elm.Panel.Orient.left); [[The panel orientation.]]
2014-03-24 01:38:01 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property hidden {
2014-03-24 01:38:01 -07:00
set {
2015-07-31 07:17:40 -07:00
[[Set the state of the panel.]]
2014-03-24 01:38:01 -07:00
}
get {
2015-07-31 07:17:40 -07:00
[[Get the state of the panel.]]
2014-03-24 01:38:01 -07:00
}
values {
hidden: bool; [[If $true, the panel will run the animation to disappear.]]
2014-03-24 01:38:01 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property scrollable {
set {
2015-07-31 07:17:40 -07:00
[[Set the scrollability of the panel.]]
}
2014-10-05 20:11:05 -07:00
get {
2015-07-31 07:17:40 -07:00
[[Get the state of the scrollability.
2014-10-05 20:11:05 -07:00
2015-07-31 07:17:40 -07:00
@since 1.12
]]
2014-10-05 20:11:05 -07:00
}
values {
2015-07-31 07:17:40 -07:00
scrollable: bool; [[The scrollable state.]]
}
}
2015-05-07 09:32:53 -07:00
@property scrollable_content_size {
set {
2015-07-31 07:17:40 -07:00
[[Set the size of the scrollable panel.]]
}
get {
[[Get the size of the scrollable panel.
@since 1.19
]]
}
values {
ratio: double; [[Size ratio]]
}
}
2014-03-24 01:38:01 -07:00
toggle {
2015-07-31 07:17:40 -07:00
[[Toggle the hidden state of the panel from code]]
2014-03-24 01:38:01 -07:00
}
}
implements {
class.constructor;
Efl.Object.constructor;
Efl.Gfx.Entity.position { set; }
Efl.Gfx.Entity.size { set; }
Efl.Canvas.Group.group_member_add;
Efl.Ui.Widget.theme_apply;
Efl.Ui.Widget.on_disabled_update;
Efl.Ui.Widget.on_access_update;
Efl.Ui.Widget.widget_event;
Efl.Ui.Widget.interest_region { get; }
Efl.Access.Widget.Action.elm_actions { get; }
Efl.Ui.I18n.mirrored { set; }
Efl.Part.part_get;
2014-03-24 01:38:01 -07:00
}
events {
toggled: void; [[Called when the hidden state was toggled]]
}
2014-03-24 01:38:01 -07:00
}