summaryrefslogtreecommitdiff
path: root/src/lib/elm_container.eo
blob: 82463a0d739226ee95886a3894b9656d258dfdd4 (plain)
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 {
            ret: free(own(list<Evas.Object *> *), eina_list_free); [[list]]
         }
      }
      content_set {
         [[Swallow the given object into the given part of the container.]]
         params {
            @in name: const(char)*; [[the part in which to swallow the object]]
            @in content: Evas.Object *; [[the object to swallow.]]
         }
         return: bool;
      }
      content_get {
         [[Get the object swallowed in the given part of the container.]]
         params {
            @in name: const(char)* @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 name: const(char)* @nullable;
         }
         return: Evas.Object *;
      }
   }
   implements {
      @virtual .content_set;
      @virtual .content_unset;
      @virtual .content_get;
      @virtual .content_swallow_list.get;
   }

}