efl/src/lib/elementary/elm_panel.eo

89 lines
2.2 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 (Elm.Layout, Elm.Interface_Scrollable,
Elm.Interface_Atspi_Widget_Action)
2014-03-24 01:38:01 -07:00
{
eo_prefix: elm_obj_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 {
2015-07-31 07:17:40 -07:00
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.]]
}
values {
ratio: double;
}
}
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;
Eo.Base.constructor;
Evas.Object_Smart.add;
Evas.Object_Smart.member_add;
Evas.Object_Smart.del;
Evas.Object_Smart.resize;
Evas.Object_Smart.move;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
Elm.Widget.disable;
Elm.Widget.access;
Elm.Widget.event;
Elm.Widget.on_focus_region;
Efl.Container.content.get;
Efl.Container.content_unset;
Efl.Container.content.set;
Elm.Layout.sizing_eval;
Elm.Interface_Atspi_Widget_Action.elm_actions.get;
2014-03-24 01:38:01 -07:00
}
}