~~Title: Efl.Text_Interactive~~
====== Efl.Text_Interactive (interface) ======
===== Description =====
%%This is an interface interactive text inputs should implement%%
{{page>:develop:api-include:efl:text_interactive:description&nouser&nolink&nodate}}
===== Inheritance =====
=> [[:develop:api:efl:text|Efl.Text]] //(interface)//
++++ Full hierarchy |
* [[:develop:api:efl:text|Efl.Text]] //(interface)//
* [[:develop:api:efl:text_font|Efl.Text_Font]] //(interface)//
* [[:develop:api:efl:text_format|Efl.Text_Format]] //(interface)//
* [[:develop:api:efl:text_style|Efl.Text_Style]] //(interface)//
++++
===== Members =====
**[[:develop:api:efl:text_interactive:property:editable|editable]]** //**(get, set)**//\\
> %%Whether the entry is editable.%%
Eina_Bool efl_text_interactive_editable_get(const Eo *obj);
void efl_text_interactive_editable_set(Eo *obj, Eina_Bool editable);
\\
**[[:develop:api:efl:text_interactive:method:select_none|select_none]]**\\
> %%Clears the selection.%%
void efl_text_interactive_select_none(Eo *obj);
\\
**[[:develop:api:efl:text_interactive:property:selection_allowed|selection_allowed]]** //**(get, set)**//\\
> %%Whether or not selection is allowed on this object%%
Eina_Bool efl_text_interactive_selection_allowed_get(const Eo *obj);
void efl_text_interactive_selection_allowed_set(Eo *obj, Eina_Bool allowed);
\\
**[[:develop:api:efl:text_interactive:property:selection_cursors|selection_cursors]]** //**(get)**//\\
>
void efl_text_interactive_selection_cursors_get(const Eo *obj, Efl_Text_Cursor_Cursor **start, Efl_Text_Cursor_Cursor **end);
\\
==== Inherited ====
^ [[:develop:api:efl:text|Efl.Text]] ^^^
| | **[[:develop:api:efl:text:property:text|text]]** //**(get, set)**// | %%The text string to be displayed by the given text object.%% |
^ [[:develop:api:efl:text_font|Efl.Text_Font]] ^^^
| | **[[:develop:api:efl:text_font:property:font|font]]** //**(get, set)**// | %%The font family, filename and size for a given text object.%% |
| | **[[:develop:api:efl:text_font:property:font_bitmap_scalable|font_bitmap_scalable]]** //**(get, set)**// | %%The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)%% |
| | **[[:develop:api:efl:text_font:property:font_fallbacks|font_fallbacks]]** //**(get, set)**// | %%Comma-separated list of font fallbacks%% |
| | **[[:develop:api:efl:text_font:property:font_lang|font_lang]]** //**(get, set)**// | %%Specific language of the displayed font%% |
| | **[[:develop:api:efl:text_font:property:font_slant|font_slant]]** //**(get, set)**// | %%Type of slant of the displayed font%% |
| | **[[:develop:api:efl:text_font:property:font_source|font_source]]** //**(get, set)**// | %%The font (source) file to be used on a given text object.%% |
| | **[[:develop:api:efl:text_font:property:font_weight|font_weight]]** //**(get, set)**// | %%Type of weight of the displayed font%% |
| | **[[:develop:api:efl:text_font:property:font_width|font_width]]** //**(get, set)**// | %%Type of width of the displayed font%% |
^ [[:develop:api:efl:text_format|Efl.Text_Format]] ^^^
| | **[[:develop:api:efl:text_format:property:ellipsis|ellipsis]]** //**(get, set)**// | %%Ellipsis value (number from -1.0 to 1.0)%% |
| | **[[:develop:api:efl:text_format:property:halign|halign]]** //**(get, set)**// | %%Horizontal alignment of text%% |
| | **[[:develop:api:efl:text_format:property:halign_auto_type|halign_auto_type]]** //**(get, set)**// | %%Horizontal alignment of text%% |
| | **[[:develop:api:efl:text_format:property:linegap|linegap]]** //**(get, set)**// | %%Minimal line gap (top and bottom) for each line in the text%% |
| | **[[:develop:api:efl:text_format:property:linerelgap|linerelgap]]** //**(get, set)**// | %%Relative line gap (top and bottom) for each line in the text%% |
| | **[[:develop:api:efl:text_format:property:multiline|multiline]]** //**(get, set)**// | %%Multiline is enabled or not%% |
| | **[[:develop:api:efl:text_format:property:password|password]]** //**(get, set)**// | %%Whether text is a password%% |
| | **[[:develop:api:efl:text_format:property:replacement_char|replacement_char]]** //**(get, set)**// | %%The character used to replace characters that can't be displayed%% |
| | **[[:develop:api:efl:text_format:property:tabstops|tabstops]]** //**(get, set)**// | %%Tabstops value%% |
| | **[[:develop:api:efl:text_format:property:valign|valign]]** //**(get, set)**// | %%Vertical alignment of text%% |
| | **[[:develop:api:efl:text_format:property:wrap|wrap]]** //**(get, set)**// | %%Wrap mode for use in the text%% |
^ [[:develop:api:efl:text_style|Efl.Text_Style]] ^^^
| | **[[:develop:api:efl:text_style:property:backing_color|backing_color]]** //**(get, set)**// | %%Backing color%% |
| | **[[:develop:api:efl:text_style:property:backing_type|backing_type]]** //**(get, set)**// | %%Enable or disable backing type%% |
| | **[[:develop:api:efl:text_style:property:effect_type|effect_type]]** //**(get, set)**// | %%Type of effect used for the displayed text%% |
| | **[[:develop:api:efl:text_style:property:gfx_filter|gfx_filter]]** //**(get, set)**// | %%Program that applies a special filter%% |
| | **[[:develop:api:efl:text_style:property:glow2_color|glow2_color]]** //**(get, set)**// | %%Second color of the glow effect%% |
| | **[[:develop:api:efl:text_style:property:glow_color|glow_color]]** //**(get, set)**// | %%Color of glow effect%% |
| | **[[:develop:api:efl:text_style:property:normal_color|normal_color]]** //**(get, set)**// | %%Color of text, excluding style%% |
| | **[[:develop:api:efl:text_style:property:outline_color|outline_color]]** //**(get, set)**// | %%Color of outline effect%% |
| | **[[:develop:api:efl:text_style:property:shadow_color|shadow_color]]** //**(get, set)**// | %%Color of shadow effect%% |
| | **[[:develop:api:efl:text_style:property:shadow_direction|shadow_direction]]** //**(get, set)**// | %%Direction of shadow effect%% |
| | **[[:develop:api:efl:text_style:property:strikethrough_color|strikethrough_color]]** //**(get, set)**// | %%Color of strikethrough_style%% |
| | **[[:develop:api:efl:text_style:property:strikethrough_type|strikethrough_type]]** //**(get, set)**// | %%Type of strikethrough style%% |
| | **[[:develop:api:efl:text_style:property:underline2_color|underline2_color]]** //**(get, set)**// | %%Color of underline2 style%% |
| | **[[:develop:api:efl:text_style:property:underline_color|underline_color]]** //**(get, set)**// | %%Color of normal underline style%% |
| | **[[:develop:api:efl:text_style:property:underline_dashed_color|underline_dashed_color]]** //**(get, set)**// | %%Color of dashed underline style%% |
| | **[[:develop:api:efl:text_style:property:underline_dashed_gap|underline_dashed_gap]]** //**(get, set)**// | %%Gap of dashed underline style%% |
| | **[[:develop:api:efl:text_style:property:underline_dashed_width|underline_dashed_width]]** //**(get, set)**// | %%Width of dashed underline style%% |
| | **[[:develop:api:efl:text_style:property:underline_height|underline_height]]** //**(get, set)**// | %%Height of underline style%% |
| | **[[:develop:api:efl:text_style:property:underline_type|underline_type]]** //**(get, set)**// | %%Sets an underline style on the text%% |
===== Events =====
**[[:develop:api:efl:text_interactive:event:text_selection_changed|text,selection,changed]]**\\
> %%The selection on the object has changed. Query using %%[[:develop:api:efl:text_interactive:property:selection_cursors|Efl.Text_Interactive.selection_cursors]]%%%%
EFL_TEXT_INTERACTIVE_EVENT_TEXT_SELECTION_CHANGED(void)
\\