efl/legacy/elementary/src/lib/elm_panel.eo

117 lines
2.7 KiB
Plaintext

class Elm_Panel (Elm_Layout, Elm_Interface_Scrollable,
Elm_Interface_Atspi_Widget_Action)
{
eo_prefix: elm_obj_panel;
properties {
orient {
set {
/*@
@brief Sets the orientation of the panel
Sets from where the panel will (dis)appear.
@ingroup Panel */
}
get {
/*@
@brief Get the orientation of the panel.
@return The Elm_Panel_Orient, or #ELM_PANEL_ORIENT_LEFT on failure.
@ingroup Panel */
}
values {
Elm_Panel_Orient orient(2); /*@ The panel orientation. Can be one of the following:
@li #ELM_PANEL_ORIENT_TOP
@li #ELM_PANEL_ORIENT_LEFT
@li #ELM_PANEL_ORIENT_RIGHT */
}
}
hidden {
set {
/*@
@brief Set the state of the panel.
@ingroup Panel */
}
get {
/*@
@brief Get the state of the panel.
@return EINA_TRUE if it is hidden state
@ingroup Panel */
}
values {
bool hidden; /*@ If true, the panel will run the animation to disappear. */
}
}
scrollable {
set {
/*@
@brief Set the scrollability of the panel.
@ingroup Panel */
}
get {
/*@
@brief Get the state of the scrollability.
@return EINA_TRUE if it is scrollable
@ingroup Panel
@since 1.12 */
}
values {
bool scrollable;
}
}
scrollable_content_size {
set {
/*@
@brief Set the size of the scrollable panel.
@ingroup Panel */
}
values {
double ratio;
}
}
}
methods {
toggle {
/*@
@brief Toggle the hidden state of the panel from code
@ingroup Panel */
}
}
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;
Elm_Container.content_get;
Elm_Container.content_unset;
Elm_Container.content_set;
Elm_Layout.sizing_eval;
Elm_Interface_Atspi_Widget_Action.elm_actions.get;
}
events {
focused;
unfocused;
}
}