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 {
|
2015-07-22 02:21:24 -07:00
|
|
|
[[Get the list of swallow parts in the object.]]
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-22 02:21:24 -07:00
|
|
|
ret: free(own(list<Evas.Object *> *), eina_list_free); [[list]]
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
content_set {
|
2015-07-22 02:21:24 -07:00
|
|
|
[[Swallow the given object into the given part of the container.]]
|
2014-03-16 04:32:53 -07:00
|
|
|
params {
|
2015-07-22 02:21:24 -07:00
|
|
|
@in name: const(char)*; [[the part in which to swallow the object]]
|
|
|
|
@in content: Evas.Object *; [[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 {
|
2015-07-22 02:21:24 -07:00
|
|
|
[[Get the object swallowed in the given part of the container.]]
|
2014-03-16 04:32:53 -07:00
|
|
|
params {
|
2015-07-22 02:21:24 -07:00
|
|
|
@in name: const(char)* @nullable; [[the part in which the object is swallowed.]]
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
2015-06-26 07:36:43 -07:00
|
|
|
return: Evas.Object *;
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
|
|
|
content_unset {
|
2015-07-22 02:21:24 -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-05-18 08:16:08 -07:00
|
|
|
@in name: const(char)* @nullable;
|
2014-03-16 04:32:53 -07:00
|
|
|
}
|
2015-06-26 07:36:43 -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
|
|
|
}
|
|
|
|
|
|
|
|
}
|