Changeset View
Changeset View
Standalone View
Standalone View
src/lib/elementary/efl_ui_textbox.eo
1 | enum @beta Efl.Ui.Textbox_Cnp_Content { | 1 | enum @beta Efl.Ui.Textbox_Cnp_Content { | ||
---|---|---|---|---|---|
2 | [[What kind of content can be pasted into this widget using Copy & Paste or Drag & Drop functionality. | 2 | [[What kind of content can be pasted into this widget using Copy & Paste or Drag & Drop functionality. | ||
3 | 3 | | |||
4 | Multiple options can be OR-ed together. | 4 | Multiple options can be OR-ed together. | ||
5 | ]] | 5 | ]] | ||
6 | Nothing = 0, [[Nothing can be pasted or dropped into this widget.]] | 6 | Nothing = 0, [[Nothing can be pasted or dropped into this widget.]] | ||
7 | Text = 1, [[Plain text can be pasted or dropped into this widget.]] | 7 | Text = 1, [[Plain text can be pasted or dropped into this widget.]] | ||
8 | Markup = 3, [[Markup text can be pasted or dropped into this widget | 8 | Markup = 3, [[Markup text can be pasted or dropped into this widget | ||
9 | (This includes Plain text).]] | 9 | (This includes Plain text).]] | ||
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 | | |||
13 | class @beta Efl.Ui.Textbox extends Efl.Ui.Layout_Base implements Efl.Input.Clickable, | 13 | class 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 | ||
17 | { | 17 | { | ||
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. | ||
25 | 26 | | |||
26 | When scrolling is enabled scrollbars will appear if the text does | 27 | When scrolling is enabled scrollbars will appear if the text does | ||
27 | not fit the widget size. | 28 | not fit the widget size. | ||
28 | 29 | | |||
29 | Direct control of the scroll through the @Efl.Ui.Scrollable interface | 30 | Direct control of the scroll through the @Efl.Ui.Scrollable interface | ||
▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines |