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

84 lines
2.2 KiB
Plaintext
Raw Normal View History

class Elm.Frame (Elm.Layout, Evas.Clickable_Interface)
2014-03-18 00:01:28 -07:00
{
eo_prefix: elm_obj_frame;
properties {
collapse {
set {
/*@
@brief Manually collapse a frame without animations
Use this to toggle the collapsed state of a frame, bypassing animations.
@ingroup Frame */
}
get {
/*@
@brief Determine the collapse state of a frame
@return true if collapsed, false otherwise
Use this to determine the collapse state of a frame.
@ingroup Frame */
}
values {
bool collapse; /*@ true to collapse, false to expand */
2014-03-18 00:01:28 -07:00
}
}
autocollapse {
set {
/*@
@brief Toggle autocollapsing of a frame
When @p enable is EINA_TRUE, clicking a frame's label will collapse the frame
vertically, shrinking it to the height of the label.
By default, this is DISABLED.
@ingroup Frame */
}
get {
/*@
@brief Determine autocollapsing of a frame
@return Whether autocollapse is enabled
When this returns EINA_TRUE, clicking a frame's label will collapse the frame
vertically, shrinking it to the height of the label.
By default, this is DISABLED.
@ingroup Frame */
}
values {
bool autocollapse; /*@ Whether to enable autocollapse */
2014-03-18 00:01:28 -07:00
}
}
}
methods {
collapse_go {
/*@
@brief Manually collapse a frame with animations
Use this to toggle the collapsed state of a frame, triggering animations.
@ingroup Frame */
params {
@in bool collapse; /*@ true to collapse, false to expand */
2014-03-18 00:01:28 -07:00
}
}
}
implements {
Eo.Base.constructor;
class.constructor;
Evas.Object_Smart.calculate;
Evas.Object_Smart.add;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
Elm.Widget.focus_direction_manager_is;
Elm.Layout.text_aliases.get;
Elm.Layout.content_aliases.get;
2014-03-18 00:01:28 -07:00
}
events {
clicked;
language,changed;
access,changed;
}
}