2015-05-13 07:27:04 -07:00
|
|
|
enum Elm.Panel.Orient
|
|
|
|
{
|
2015-06-11 08:39:33 -07:00
|
|
|
[[Panel orientation mode]]
|
2015-05-13 07:27:04 -07:00
|
|
|
|
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]]
|
2015-05-13 07:27:04 -07:00
|
|
|
}
|
|
|
|
|
2016-01-11 02:38:57 -08:00
|
|
|
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 {
|
2014-07-06 23:08:45 -07:00
|
|
|
set {
|
2015-07-31 07:17:40 -07:00
|
|
|
[[Set the scrollability of the panel.]]
|
2014-07-06 23:08:45 -07:00
|
|
|
}
|
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
|
|
|
}
|
2014-07-06 23:08:45 -07:00
|
|
|
values {
|
2015-07-31 07:17:40 -07:00
|
|
|
scrollable: bool; [[The scrollable state.]]
|
2014-07-06 23:08:45 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property scrollable_content_size {
|
2014-07-06 23:08:45 -07:00
|
|
|
set {
|
2015-07-31 07:17:40 -07:00
|
|
|
[[Set the size of the scrollable panel.]]
|
2014-07-06 23:08:45 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
ratio: double;
|
2014-07-06 23:08:45 -07:00
|
|
|
}
|
|
|
|
}
|
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 {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2014-06-27 15:36:05 -07:00
|
|
|
Eo.Base.constructor;
|
|
|
|
Evas.Object_Smart.add;
|
2014-07-06 23:08:45 -07:00
|
|
|
Evas.Object_Smart.member_add;
|
2014-06-27 15:36:05 -07:00
|
|
|
Evas.Object_Smart.del;
|
2014-07-06 23:08:45 -07:00
|
|
|
Evas.Object_Smart.resize;
|
|
|
|
Evas.Object_Smart.move;
|
2015-04-22 04:33:10 -07:00
|
|
|
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;
|
2016-04-19 22:55:26 -07:00
|
|
|
Efl.Container.content.get;
|
|
|
|
Efl.Container.content_unset;
|
|
|
|
Efl.Container.content.set;
|
2015-04-22 04:37:40 -07:00
|
|
|
Elm.Layout.sizing_eval;
|
2016-01-11 02:38:57 -08:00
|
|
|
Elm.Interface_Atspi_Widget_Action.elm_actions.get;
|
2014-03-24 01:38:01 -07:00
|
|
|
}
|
|
|
|
}
|