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
|
|
|
}
|
|
|
|
|
2017-10-02 13:52:48 -07:00
|
|
|
class Elm.Panel (Efl.Ui.Layout, Efl.Ui.Focus.Layer, Elm.Interface_Scrollable,
|
2017-11-15 18:31:26 -08:00
|
|
|
Efl.Access.Widget.Action)
|
2014-03-24 01:38:01 -07:00
|
|
|
{
|
2016-11-24 05:55:50 -08:00
|
|
|
[[Elementary panel class]]
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_panel;
|
2014-03-24 01:38:01 -07:00
|
|
|
eo_prefix: elm_obj_panel;
|
2016-07-31 23:38:50 -07:00
|
|
|
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 {
|
2016-11-24 05:55:50 -08: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
|
|
|
}
|
2017-01-04 17:26:29 -08:00
|
|
|
get {
|
|
|
|
[[Get the size of the scrollable panel.
|
|
|
|
|
|
|
|
@since 1.19
|
|
|
|
]]
|
|
|
|
}
|
2014-07-06 23:08:45 -07:00
|
|
|
values {
|
2016-11-24 05:55:50 -08:00
|
|
|
ratio: double; [[Size ratio]]
|
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;
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.Gfx.position { set; }
|
|
|
|
Efl.Gfx.size { set; }
|
2016-06-17 01:26:08 -07:00
|
|
|
Efl.Canvas.Group.group_member_add;
|
2015-04-22 04:33:10 -07:00
|
|
|
Elm.Widget.theme_apply;
|
2017-08-23 22:06:32 -07:00
|
|
|
Elm.Widget.on_disabled_update;
|
2017-08-23 23:31:05 -07:00
|
|
|
Elm.Widget.on_access_update;
|
2017-01-01 23:48:17 -08:00
|
|
|
Elm.Widget.widget_event;
|
2017-10-12 02:16:42 -07:00
|
|
|
Elm.Widget.interest_region { get; }
|
2017-11-15 18:31:26 -08:00
|
|
|
Efl.Access.Widget.Action.elm_actions { get; }
|
2016-05-24 04:40:18 -07:00
|
|
|
Efl.Part.part;
|
2014-03-24 01:38:01 -07:00
|
|
|
}
|
2016-07-31 23:38:50 -07:00
|
|
|
events {
|
2016-11-24 05:55:50 -08:00
|
|
|
toggled; [[Called when the hidden state was toggled]]
|
2016-07-31 23:38:50 -07:00
|
|
|
}
|
2014-03-24 01:38:01 -07:00
|
|
|
}
|