summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_container.eo
blob: e6fd8155a97d5fdaf7c643a0291bbcd6d4dd898c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
class Elm.Container (Elm.Widget)
{
   legacy_prefix: null;
   eo_prefix: elm_obj_container;
   data: null;
   methods {
      @property content_swallow_list {
         get {
            /*@ Get the list of swallow parts in the object. */
         }
         values {
            free(own(list<Evas_Object *> *), eina_list_free) ret; /*@ list */
         }
      }
      content_set {
         /*@ Swallow the given object into the given part of the container. */
         params {
            @in const(char)* name; /*@ the part in which to swallow the object */
            @in Evas_Object *content; /*@ the object to swallow */
         }
         return: bool;
      }
      content_get {
         /*@ Get the object swallowed in the given part of the container. */
         params {
            @in const(char)* name @nullable; /*@ the part in which the object is swallowed */
         }
         return: Evas_Object *;
      }
      content_unset {
         /*@ Unswallow the object in the given part of the container and return it. */
         params {
            @in const(char)* name @nullable;
         }
         return: Evas_Object *;
      }
   }
   implements {
      @virtual .content_set;
      @virtual .content_unset;
      @virtual .content_get;
      @virtual .content_swallow_list.get;
   }

}