2015-04-22 04:43:05 -07:00
|
|
|
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 {
|
2014-07-11 06:44:47 -07:00
|
|
|
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 {
|
2014-07-11 06:44:47 -07:00
|
|
|
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 {
|
2014-07-11 06:44:47 -07:00
|
|
|
@in bool collapse; /*@ true to collapse, false to expand */
|
2014-03-18 00:01:28 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-27 15:36:05 -07:00
|
|
|
Eo.Base.constructor;
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2014-06-27 15:36:05 -07:00
|
|
|
Evas.Object_Smart.calculate;
|
|
|
|
Evas.Object_Smart.add;
|
2015-04-22 04:33:10 -07:00
|
|
|
Elm.Widget.focus_direction;
|
|
|
|
Elm.Widget.focus_next_manager_is;
|
|
|
|
Elm.Widget.focus_next;
|
|
|
|
Elm.Widget.focus_direction_manager_is;
|
2015-04-22 04:37:40 -07:00
|
|
|
Elm.Layout.text_aliases.get;
|
|
|
|
Elm.Layout.content_aliases.get;
|
2014-03-18 00:01:28 -07:00
|
|
|
}
|
|
|
|
events {
|
|
|
|
clicked;
|
|
|
|
language,changed;
|
|
|
|
access,changed;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|