2015-04-22 04:38:51 -07:00
|
|
|
class Elm.Container (Elm.Widget)
|
2014-03-16 04:32:53 -07:00
|
|
|
{
|
2014-04-03 00:19:03 -07:00
|
|
|
legacy_prefix: null;
|
2014-03-16 04:32:53 -07:00
|
|
|
eo_prefix: elm_obj_container;
|
|
|
|
data: null;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property content_swallow_list {
|
2014-03-16 04:32:53 -07:00
|
|
|
get {
|
2014-10-13 06:59:28 -07:00
|
|
|
/*@ Get the list of swallow parts in the object. */
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-04-23 03:46:48 -07:00
|
|
|
free(own(list<Evas_Object *> *), eina_list_free) ret; /*@ list */
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
content_set {
|
2014-10-13 06:59:28 -07:00
|
|
|
/*@ Swallow the given object into the given part of the container. */
|
2014-03-16 04:32:53 -07:00
|
|
|
params {
|
2014-10-13 06:59:28 -07:00
|
|
|
@in const(char)* name; /*@ the part in which to swallow the object */
|
|
|
|
@in Evas_Object *content; /*@ the object to swallow */
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
|
|
|
content_get {
|
2014-10-13 06:59:28 -07:00
|
|
|
/*@ Get the object swallowed in the given part of the container. */
|
2014-03-16 04:32:53 -07:00
|
|
|
params {
|
2015-04-23 03:46:48 -07:00
|
|
|
@in const(char)* name @nullable; /*@ the part in which the object is swallowed */
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
2014-08-11 07:46:11 -07:00
|
|
|
return: Evas_Object *;
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
|
|
|
content_unset {
|
2014-10-13 06:59:28 -07:00
|
|
|
/*@ Unswallow the object in the given part of the container and return it. */
|
2014-03-16 04:32:53 -07:00
|
|
|
params {
|
2015-04-23 03:46:48 -07:00
|
|
|
@in const(char)* name @nullable;
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
2014-08-11 07:46:11 -07:00
|
|
|
return: Evas_Object *;
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-08-29 03:41:44 -07:00
|
|
|
@virtual .content_set;
|
|
|
|
@virtual .content_unset;
|
|
|
|
@virtual .content_get;
|
|
|
|
@virtual .content_swallow_list.get;
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|