summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_size_class.eo
blob: 1fa3dad5da11278876fcdb30472678d11734de3c (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
46
47
48
49
interface Efl.Gfx.Size_Class
{
   methods {
      @property size_class {
         set {
            [[Set width and height of size class.

              This function sets width and height for a size class.
              This will make all edje parts in the specified object that have
              the specified size class update their size with given values.

              @since 1.17]]
            return: bool; [[$true, on success or $false, on error]]
         }
         get {
            [[Get width and height of size class.

              This function gets width and height for a size class.
              These values will only be valid until the size class is changed
              or the edje object is deleted.

              @since 1.17]]
            return: bool; [[$true, on success or $false, on error]]
         }
         keys {
            size_class: string; [[The name of size class]]
         }
         values {
            minw: int; [[minimum width]]
            minh: int; [[minimum height]]
            maxw: int; [[maximum width]]
            maxh: int; [[maximum height]]
         }
      }
      size_class_del {
         [[Delete the size class.

           This function deletes any values for the specified size class.

           Deleting the size class will revert it to the values defined
           by @.size_class.set() or the size class defined in the theme file.

           @since 1.17]]
         params {
            @in size_class: string; [[The size class to be deleted.]]
         }
      }
   }
}