Efl.Ui.Text: Minor tweaks on the documentation.

This commit is contained in:
Xavi Artigas 2019-02-07 18:01:56 +01:00
parent e1e4f90446
commit e40f666807
2 changed files with 11 additions and 15 deletions

View File

@ -11,7 +11,7 @@ enum @beta Efl.Ui.Selection_Format
{
[[Selection format]]
targets = -1, [[For matching every possible atom]]
none = 0x0, [[Content is from outside of Elementary]]
none = 0x0, [[Content is from outside of EFL]]
text = 0x01, [[Plain unformatted text: Used for things that don't want rich markup]]
markup = 0x2, [[Edje textblock markup, including inline images]]
image = 0x4, [[Images]]

View File

@ -5,24 +5,20 @@ class @beta Efl.Ui.Text extends Efl.Ui.Layout_Base implements Efl.Ui.Clickable,
Efl.Access.Text, Efl.Access.Editable.Text, Efl.File,
Efl.Ui.Selectable, Efl.Text_Interactive, Efl.Text_Markup
{
[[Efl UI text class]]
[[A flexible text widget which can be static (as a label) or editable by
the user (as a text entry). It provides all sorts of editing facilities
like automatic scrollbars, virtual keyboard, clipboard, configurable
context menus, password mode or autocapitalization, for example.]]
methods {
@property scrollable {
set {
[[Enable or disable scrolling in entry
[[Enable or disable scrolling in the widget.
Normally the entry is not scrollable unless you enable it with this call.
]]
}
get {
[[Get the scrollable state of the entry
Normally the entry is not scrollable. This gets the scrollable state
of the entry.
]]
}
When scrolling is enabled scrollbars will appear if the text does
not fit the widget size.]]
set {}
get {}
values {
scroll: bool; [[$true if it is to be scrollable, $false otherwise.]]
scroll: bool; [[$true to enable scrolling. Default is $false.]]
}
}
@property input_panel_show_on_demand {