summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_ui_i18n.eo
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2018-12-21 14:13:40 -0800
committerCedric BAIL <cedric.bail@free.fr>2019-01-02 11:03:51 -0800
commit038612736c5adc457f6ccf254767f6119ee087c4 (patch)
tree1a03ce6fa28d9fc6d9de6a07fa0c8a37ce8d1e63 /src/lib/efl/interfaces/efl_ui_i18n.eo
parent327593e9b443cf62c0cd9b3b73327b031fa52ea2 (diff)
efl: rename Efl.Ui.Base -> Efl.Ui.I18n as that is really what it does.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7506
Diffstat (limited to 'src/lib/efl/interfaces/efl_ui_i18n.eo')
-rw-r--r--src/lib/efl/interfaces/efl_ui_i18n.eo43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_i18n.eo b/src/lib/efl/interfaces/efl_ui_i18n.eo
new file mode 100644
index 0000000000..3dffa16c1e
--- /dev/null
+++ b/src/lib/efl/interfaces/efl_ui_i18n.eo
@@ -0,0 +1,43 @@
1interface Efl.Ui.I18n
2{
3 [[A common Internationalization interface for UI objects.]]
4 eo_prefix: efl_ui;
5 methods {
6 @property mirrored {
7 [[Whether this object should be mirrored.
8
9 If mirrored, an object is in RTL (right to left) mode instead of LTR
10 (left to right).
11 ]]
12 values {
13 rtl: bool(false); [[$true for RTL, $false for LTR (default).]]
14 }
15 }
16 @property mirrored_automatic {
17 [[Whether the property @.mirrored should be set automatically.
18
19 If enabled, the system or application configuration will be used
20 to set the value of @.mirrored.
21
22 This property may be implemented by high-level widgets (in Efl.Ui)
23 but not by low-level widgets (in @Efl.Canvas.Scene) as the configuration
24 should affect only high-level widgets.
25 ]]
26 values {
27 automatic: bool(true); [[Whether the widget uses automatic mirroring]]
28 }
29 }
30 @property language {
31 [[The (human) language for this object.]]
32 set {
33 [[Sets the language for this object.]]
34 }
35 get {
36 [[Gets the language for this object.]]
37 }
38 values {
39 language: string; [[The current language.]]
40 }
41 }
42 }
43}