summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_content.eo
blob: 198b6c0482d230a1d71d8022a74d0ccd5f7fff98 (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
interface Efl.Content
{
   [[Common interface for objects that have a (single) content.

     This is used for the default content part of widgets, as well as for
     individual parts through @Efl.Part.
   ]]
   methods {
      @property content {
         [[Swallowed sub-object contained in this object.]]
         set {
            return: bool; [[$true on success, $false otherwise]]
         }
         get {}
         values {
            content: Efl.Gfx; [[The object to swallow.]]
         }
      }
      content_unset {
         [[Unswallow the object in the current container and return it.]]
         return: Efl.Gfx; [[Unswallowed object]]
      }
   }
}