summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Alzyod <ali198724@gmail.com>2020-02-12 13:07:17 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-17 10:29:59 +0100
commit69d6ca28ab34695e5c28bba5e20ee693f4ee54dd (patch)
tree707f06f28bb7a146c4d0a5cc5d604e8c0886abf1
parent561906399c886ac8da22fe71d31adaf19c24b271 (diff)
move stabelized items out of @beta
ref T8541 ref T8522 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11328
-rw-r--r--src/lib/efl/interfaces/efl_input_text.eo35
-rw-r--r--src/lib/elementary/efl_ui_textbox.eo5
2 files changed, 24 insertions, 16 deletions
diff --git a/src/lib/efl/interfaces/efl_input_text.eo b/src/lib/efl/interfaces/efl_input_text.eo
index ce4a42eefb..4abcdf7c34 100644
--- a/src/lib/efl/interfaces/efl_input_text.eo
+++ b/src/lib/efl/interfaces/efl_input_text.eo
@@ -1,7 +1,8 @@
1enum @beta Efl.Input_Text.Panel_Layout_Type 1enum Efl.Input_Text.Panel_Layout_Type
2{ 2{
3 [[Input panel (virtual keyboard) layout types. 3 [[Input panel (virtual keyboard) layout types.
4 Type of input panel (virtual keyboard) to use - this is a hint and may not provide exactly what is desired. 4 Type of input panel (virtual keyboard) to use - this is a hint and may not provide exactly what is desired.
5 @since 1.24
5 ]] 6 ]]
6 normal, [[Default layout.]] 7 normal, [[Default layout.]]
7 number, [[Number layout.]] 8 number, [[Number layout.]]
@@ -20,18 +21,20 @@ enum @beta Efl.Input_Text.Panel_Layout_Type
20 voice [[Voice layout, but if the IME does not support voice layout, then normal layout will be shown.]] 21 voice [[Voice layout, but if the IME does not support voice layout, then normal layout will be shown.]]
21} 22}
22 23
23enum @beta Efl.Input_Text.Panel_Language_Type 24enum Efl.Input_Text.Panel_Language_Type
24{ 25{
25 [[Input panel (virtual keyboard) language modes. 26 [[Input panel (virtual keyboard) language modes.
27 @since 1.24
26 ]] 28 ]]
27 automatic, [[Automatic]] 29 automatic, [[Automatic]]
28 alphabet [[Alphabet]] 30 alphabet [[Alphabet]]
29} 31}
30 32
31enum @beta Efl.Input_Text.Capitalize_Type 33enum Efl.Input_Text.Capitalize_Type
32{ 34{
33 [[Autocapitalization Types. 35 [[Autocapitalization Types.
34 Choose method of auto-capitalization. 36 Choose method of auto-capitalization.
37 @since 1.24
35 ]] 38 ]]
36 none, [[No auto-capitalization when typing.]] 39 none, [[No auto-capitalization when typing.]]
37 word, [[Autocapitalize each word typed.]] 40 word, [[Autocapitalize each word typed.]]
@@ -39,9 +42,10 @@ enum @beta Efl.Input_Text.Capitalize_Type
39 all [[Autocapitalize all letters.]] 42 all [[Autocapitalize all letters.]]
40} 43}
41 44
42enum @beta Efl.Input_Text.Panel_Return_Key_Type 45enum Efl.Input_Text.Panel_Return_Key_Type
43{ 46{
44 [["Return" Key types on the input panel (virtual keyboard). 47 [["Return" Key types on the input panel (virtual keyboard).
48 @since 1.24
45 ]] 49 ]]
46 default, [[Default.]] 50 default, [[Default.]]
47 done, [[Done.]] 51 done, [[Done.]]
@@ -54,9 +58,10 @@ enum @beta Efl.Input_Text.Panel_Return_Key_Type
54 signin [[Sign-in.]] 58 signin [[Sign-in.]]
55} 59}
56 60
57enum @beta Efl.Input_Text.Panel_Return_Key_State 61enum Efl.Input_Text.Panel_Return_Key_State
58{ 62{
59 [["Return" Key state on the input panel (virtual keyboard). 63 [["Return" Key state on the input panel (virtual keyboard).
64 @since 1.24
60 ]] 65 ]]
61 auto, [[The return key on input panel is disabled when the entry has no text, 66 auto, [[The return key on input panel is disabled when the entry has no text,
62 if entry has text, return key is enabled. 67 if entry has text, return key is enabled.
@@ -65,9 +70,10 @@ enum @beta Efl.Input_Text.Panel_Return_Key_State
65 disabled, [[The return key on input panel is disabled.]] 70 disabled, [[The return key on input panel is disabled.]]
66} 71}
67 72
68enum @beta Efl.Input_Text.Content_Type 73enum Efl.Input_Text.Content_Type
69{ 74{
70 [[Enumeration that defines the types of Input Hints.]] 75 [[Enumeration that defines the types of Input Hints.
76 @since 1.24]]
71 none = 0, [[No active hints.]] 77 none = 0, [[No active hints.]]
72 auto_complete = 1 << 0, [[Suggest word auto completion.]] 78 auto_complete = 1 << 0, [[Suggest word auto completion.]]
73 sensitive_data = 1 << 1, [[Typed text should not be stored.]] 79 sensitive_data = 1 << 1, [[Typed text should not be stored.]]
@@ -110,8 +116,9 @@ enum @beta Efl.Input_Text.Panel_Layout_Password_Variation_Type
110 116
111 117
112 118
113interface @beta Efl.Input_Text { 119interface Efl.Input_Text {
114 [[All the functionality relating to input hints 120 [[All the functionality relating to input hints/
121 @since 1.24
115 ]] 122 ]]
116 methods { 123 methods {
117 @property input_panel_show_on_demand { 124 @property input_panel_show_on_demand {
@@ -128,7 +135,7 @@ interface @beta Efl.Input_Text {
128 } 135 }
129 } 136 }
130 137
131 // FIXME: I don't understand why this is needed in addition to Layout 138
132 @property input_panel_language { 139 @property input_panel_language {
133 [[The language mode of the input panel. 140 [[The language mode of the input panel.
134 This API can be used if you want to show the alphabet keyboard mode.]] 141 This API can be used if you want to show the alphabet keyboard mode.]]
@@ -154,7 +161,6 @@ interface @beta Efl.Input_Text {
154 } 161 }
155 } 162 }
156 163
157 // FIXME: input_capitalize/capitalization ?
158 @property autocapitalization { 164 @property autocapitalization {
159 [[The autocapitalization type on the immodule.]] 165 [[The autocapitalization type on the immodule.]]
160 set { 166 set {
@@ -166,7 +172,6 @@ interface @beta Efl.Input_Text {
166 } 172 }
167 } 173 }
168 174
169 // FIXME: rename
170 @property predictable { 175 @property predictable {
171 [[Whether the entry should allow predictive text.]] 176 [[Whether the entry should allow predictive text.]]
172 set { 177 set {
@@ -177,7 +182,7 @@ interface @beta Efl.Input_Text {
177 prediction: bool; [[Whether the entry should allow predictive text.]] 182 prediction: bool; [[Whether the entry should allow predictive text.]]
178 } 183 }
179 } 184 }
180 // FIXME: I agree with Mike, looks bad 185
181 @property input_content_type @beta { 186 @property input_content_type @beta {
182 [[The input hint which allows input methods to fine-tune their behavior.]] 187 [[The input hint which allows input methods to fine-tune their behavior.]]
183 set { 188 set {
@@ -188,6 +193,7 @@ interface @beta Efl.Input_Text {
188 hints: Efl.Input_Text.Content_Type; [[Input hint.]] 193 hints: Efl.Input_Text.Content_Type; [[Input hint.]]
189 } 194 }
190 } 195 }
196
191 @property input_panel_layout { 197 @property input_panel_layout {
192 [[The input panel layout of the entry.]] 198 [[The input panel layout of the entry.]]
193 set { 199 set {
@@ -198,6 +204,7 @@ interface @beta Efl.Input_Text {
198 layout: Efl.Input_Text.Panel_Layout_Type(Efl.Input_Text.Panel_Layout_Type.invalid); [[Layout type.]] 204 layout: Efl.Input_Text.Panel_Layout_Type(Efl.Input_Text.Panel_Layout_Type.invalid); [[Layout type.]]
199 } 205 }
200 } 206 }
207
201 @property input_panel_return_key_type { 208 @property input_panel_return_key_type {
202 [[The "return" key type. This type is used to set string or icon on the "return" key of the input panel. 209 [[The "return" key type. This type is used to set string or icon on the "return" key of the input panel.
203 An input panel displays the string or icon associated with this type.]] 210 An input panel displays the string or icon associated with this type.]]
@@ -209,7 +216,7 @@ interface @beta Efl.Input_Text {
209 return_key_type: Efl.Input_Text.Panel_Return_Key_Type; [[The type of "return" key on the input panel.]] 216 return_key_type: Efl.Input_Text.Panel_Return_Key_Type; [[The type of "return" key on the input panel.]]
210 } 217 }
211 } 218 }
212 // FIXME: shouldn't this be "autoshow" or something? 219
213 @property input_panel_autoshow { 220 @property input_panel_autoshow {
214 [[The attribute to show the input panel automatically.]] 221 [[The attribute to show the input panel automatically.]]
215 set { 222 set {
diff --git a/src/lib/elementary/efl_ui_textbox.eo b/src/lib/elementary/efl_ui_textbox.eo
index f82908a0dc..4a9456ffb5 100644
--- a/src/lib/elementary/efl_ui_textbox.eo
+++ b/src/lib/elementary/efl_ui_textbox.eo
@@ -10,7 +10,7 @@ enum @beta Efl.Ui.Textbox_Cnp_Content {
10 Image = 4, [[Images can be pasted or dropped into this widget.]] 10 Image = 4, [[Images can be pasted or dropped into this widget.]]
11} 11}
12 12
13class @beta Efl.Ui.Textbox extends Efl.Ui.Layout_Base implements Efl.Input.Clickable, 13class Efl.Ui.Textbox extends Efl.Ui.Layout_Base implements Efl.Input.Clickable,
14 Efl.Access.Text, Efl.Access.Editable.Text, Efl.Ui.Scrollable 14 Efl.Access.Text, Efl.Access.Editable.Text, Efl.Ui.Scrollable
15 composites 15 composites
16 Efl.Text_Interactive, Efl.Text_Markup, Efl.Input_Text 16 Efl.Text_Interactive, Efl.Text_Markup, Efl.Input_Text
@@ -18,7 +18,8 @@ class @beta Efl.Ui.Textbox extends Efl.Ui.Layout_Base implements Efl.Input.Click
18 [[A flexible text widget which can be static (as a label) or editable by 18 [[A flexible text widget which can be static (as a label) or editable by
19 the user (as a text entry). It provides all sorts of editing facilities 19 the user (as a text entry). It provides all sorts of editing facilities
20 like automatic scrollbars, virtual keyboard, clipboard, configurable 20 like automatic scrollbars, virtual keyboard, clipboard, configurable
21 context menus or auto-capitalization, for example.]] 21 context menus or auto-capitalization, for example.
22 @since 1.24]]
22 methods { 23 methods {
23 @property scrollable { 24 @property scrollable {
24 [[Enable or disable scrolling in the widget. 25 [[Enable or disable scrolling in the widget.