aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/efl/interfaces/efl_ui_base.eo
blob: bfd133a42fda95d50344474d2302ff7005e6ba85 (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
/* FIXME: Any better name? Efl.Ui? Efl.Ui.Common? */
interface Efl.Ui.Base
{
   [[A common interface for UI objects.]]
   eo_prefix: efl_ui;
   methods {
      @property mirrored {
         [[Whether this object should be mirrored.

           If mirrored, an object is in RTL (right to left) mode instead of LTR
           (left to right).
         ]]
         values {
            rtl: bool(false); [[$true for RTL, $false for LTR (default).]]
         }
      }
      @property mirrored_automatic {
         [[Whether the property @.mirrored should be set automatically.

           If enabled, the system or application configuration will be used
           to set the value of @.mirrored.

           This property may be implemented by high-level widgets (in $Efl.Ui)
           but not by low-level widgets (in $Efl.Canvas) as the configuration
           should affect only high-level widgets.
         ]]
         values {
            automatic: bool(true); [[Whether the widget uses automatic mirroring]]
         }
      }
      @property language {
         [[The (human) language for this object.]]
         set {
            [[Sets the language for this object.]]
         }
         get {
            [[Gets the language for this object.]]
         }
         values {
            language: string; [[The current language.]]
          }
      }
   }
}