Modules | Macros | Typedefs | Functions
Edje Drag

Functions that deal with dragable parts. More...

Modules

 Edje Perspective
 Functions that deal with 3D projection of an 2D object.
 

Macros

#define EDJE_DRAG_DIR_NONE   EFL_UI_DRAG_DIR_NONE
 Not dragable.
 
#define EDJE_DRAG_DIR_X   EFL_UI_DRAG_DIR_X
 Dragable horizontally.
 
#define EDJE_DRAG_DIR_Y   EFL_UI_DRAG_DIR_Y
 Dragable verically.
 
#define EDJE_DRAG_DIR_XY   EFL_UI_DRAG_DIR_XY
 Dragable in both directions.
 
#define EDJE_PART_TYPE_NONE   EFL_CANVAS_LAYOUT_PART_TYPE_NONE
 
#define EDJE_PART_TYPE_RECTANGLE   EFL_CANVAS_LAYOUT_PART_TYPE_RECTANGLE
 
#define EDJE_PART_TYPE_TEXT   EFL_CANVAS_LAYOUT_PART_TYPE_TEXT
 
#define EDJE_PART_TYPE_IMAGE   EFL_CANVAS_LAYOUT_PART_TYPE_IMAGE
 
#define EDJE_PART_TYPE_SWALLOW   EFL_CANVAS_LAYOUT_PART_TYPE_SWALLOW
 
#define EDJE_PART_TYPE_TEXTBLOCK   EFL_CANVAS_LAYOUT_PART_TYPE_TEXTBLOCK
 
#define EDJE_PART_TYPE_GRADIENT   EFL_CANVAS_LAYOUT_PART_TYPE_GRADIENT
 
#define EDJE_PART_TYPE_GROUP   EFL_CANVAS_LAYOUT_PART_TYPE_GROUP
 
#define EDJE_PART_TYPE_BOX   EFL_CANVAS_LAYOUT_PART_TYPE_BOX
 
#define EDJE_PART_TYPE_TABLE   EFL_CANVAS_LAYOUT_PART_TYPE_TABLE
 
#define EDJE_PART_TYPE_EXTERNAL   EFL_CANVAS_LAYOUT_PART_TYPE_EXTERNAL
 
#define EDJE_PART_TYPE_PROXY   EFL_CANVAS_LAYOUT_PART_TYPE_PROXY
 
#define EDJE_PART_TYPE_SPACER   EFL_CANVAS_LAYOUT_PART_TYPE_SPACER
 
#define EDJE_PART_TYPE_MESH_NODE   EFL_CANVAS_LAYOUT_PART_TYPE_MESH_NODE
 
#define EDJE_PART_TYPE_LIGHT   EFL_CANVAS_LAYOUT_PART_TYPE_LIGHT
 
#define EDJE_PART_TYPE_CAMERA   EFL_CANVAS_LAYOUT_PART_TYPE_CAMERA
 
#define EDJE_PART_TYPE_SNAPSHOT   EFL_CANVAS_LAYOUT_PART_TYPE_SNAPSHOT
 
#define EDJE_PART_TYPE_VECTOR   EFL_CANVAS_LAYOUT_PART_TYPE_VECTOR
 
#define EDJE_PART_TYPE_LAST   EFL_CANVAS_LAYOUT_PART_TYPE_LAST
 

Typedefs

typedef Efl_Ui_Drag_Dir Edje_Drag_Dir
 Dragable properties values.
 
typedef Efl_Canvas_Layout_Part_Type Edje_Part_Type
 

Functions

Eina_Bool edje_object_part_drag_value_set (Evas_Object *obj, const char *part, double dx, double dy)
 Sets the dragable object location. More...
 
Eina_Bool edje_object_part_drag_value_get (const Evas_Object *obj, const char *part, double *dx, double *dy)
 Gets the dragable object location. More...
 
Eina_Bool edje_object_part_drag_size_set (Evas_Object *obj, const char *part, double dw, double dh)
 Sets the dragable object size. More...
 
Eina_Bool edje_object_part_drag_size_get (const Evas_Object *obj, const char *part, double *dw, double *dh)
 Gets the dragable object size. More...
 
Edje_Drag_Dir edje_object_part_drag_dir_get (const Evas_Object *obj, const char *part)
 Determines dragable directions. More...
 
Eina_Bool edje_object_part_drag_step_set (Evas_Object *obj, const char *part, double dx, double dy)
 Sets the drag step increment. More...
 
Eina_Bool edje_object_part_drag_step_get (const Evas_Object *obj, const char *part, double *dx, double *dy)
 Gets the drag step increment values. More...
 
Eina_Bool edje_object_part_drag_step (Evas_Object *obj, const char *part, double dx, double dy)
 Steps the dragable x,y steps. More...
 
Eina_Bool edje_object_part_drag_page_set (Evas_Object *obj, const char *part, double dx, double dy)
 Sets the page step increments. More...
 
Eina_Bool edje_object_part_drag_page_get (const Evas_Object *obj, const char *part, double *dx, double *dy)
 Gets the page step increments. More...
 
Eina_Bool edje_object_part_drag_page (Evas_Object *obj, const char *part, double dx, double dy)
 Pages x,y steps. More...
 
Eina_Bool edje_object_part_text_set (const Evas_Object *obj, const char *part, const char *text)
 Sets a given text to an Edje object TEXT or TEXTBLOCK parts. More...
 
const char * edje_object_part_text_get (const Evas_Object *obj, const char *part)
 Gets the text currntly set to the given part. More...
 
void edje_object_part_text_cursor_begin_set (Evas_Object *obj, const char *part, Edje_Cursor cur)
 Moves the cursor to the beginning of the text part evas_textblock_cursor_paragraph_first. More...
 
void edje_object_part_text_cursor_end_set (Evas_Object *obj, const char *part, Edje_Cursor cur)
 Moves the cursor to the end of the text part. More...
 
void edje_object_part_text_cursor_pos_set (Evas_Object *obj, const char *part, Edje_Cursor cur, int pos)
 Sets the cursor position to the given value. More...
 
int edje_object_part_text_cursor_pos_get (const Evas_Object *obj, const char *part, Edje_Cursor cur)
 Retrieves the current position of the cursor. More...
 
Eina_Bool edje_object_part_text_cursor_coord_set (Evas_Object *obj, const char *part, Edje_Cursor cur, int x, int y)
 Position the given cursor to a X,Y position. More...
 
void edje_object_part_text_cursor_line_begin_set (Evas_Object *obj, const char *part, Edje_Cursor cur)
 Moves the cursor to the beginning of the line. More...
 
void edje_object_part_text_cursor_line_end_set (Evas_Object *obj, const char *part, Edje_Cursor cur)
 Moves the cursor to the end of the line. More...
 
Eina_Bool edje_object_part_text_cursor_prev (Evas_Object *obj, const char *part, Edje_Cursor cur)
 Moves the cursor to the previous char evas_textblock_cursor_char_prev. More...
 
Eina_Bool edje_object_part_text_cursor_next (Evas_Object *obj, const char *part, Edje_Cursor cur)
 Advances the cursor to the next cursor position. More...
 
Eina_Bool edje_object_part_text_cursor_up (Evas_Object *obj, const char *part, Edje_Cursor cur)
 Moves the cursor to the char above the current cursor position. More...
 
Eina_Bool edje_object_part_text_cursor_down (Evas_Object *obj, const char *part, Edje_Cursor cur)
 Moves the cursor to the char below the current cursor position. More...
 
void edje_object_part_text_cursor_copy (Evas_Object *obj, const char *part, Edje_Cursor src, Edje_Cursor dst)
 Copies the cursor to another cursor. More...
 
char * edje_object_part_text_cursor_content_get (const Evas_Object *obj, const char *part, Edje_Cursor cur)
 Returns the content (char) at the cursor position. More...
 
void edje_object_part_text_cursor_geometry_get (const Evas_Object *obj, const char *part, int *x, int *y, int *w, int *h)
 Returns the cursor geometry of the part relative to the edje object. More...
 
Eina_Bool edje_object_part_text_hide_visible_password (Evas_Object *obj, const char *part)
 Hides visible last character for password mode. More...
 
Eina_Bool edje_object_part_text_cursor_is_format_get (const Evas_Object *obj, const char *part, Edje_Cursor cur)
 Returns whether the cursor points to a format. More...
 
Eina_Bool edje_object_part_text_cursor_is_visible_format_get (const Evas_Object *obj, const char *part, Edje_Cursor cur)
 Returns true if the cursor points to a visible format For example \t, \n, item and etc. More...
 
const Eina_Listedje_object_part_text_anchor_geometry_get (const Evas_Object *obj, const char *part, const char *anchor)
 Returns a list of Evas_Textblock_Rectangle anchor rectangles. More...
 
const Eina_Listedje_object_part_text_anchor_list_get (const Evas_Object *obj, const char *part)
 Returns a list of char anchor names. More...
 
const char * edje_object_part_text_style_user_peek (const Evas_Object *obj, const char *part)
 Returns the text of the object part. More...
 
void edje_object_part_text_style_user_push (Evas_Object *obj, const char *part, const char *style)
 Sets the style of the. More...
 
void edje_object_part_text_style_user_pop (Evas_Object *obj, const char *part)
 Deletes the top style form the user style stack. More...
 
Eina_Bool edje_object_part_text_item_geometry_get (const Evas_Object *obj, const char *part, const char *item, int *cx, int *cy, int *cw, int *ch)
 Returns item geometry. More...
 
const Eina_Listedje_object_part_text_item_list_get (const Evas_Object *obj, const char *part)
 Returns a list of char item names. More...
 
void edje_object_text_insert_filter_callback_add (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data)
 Adds a filter function for newly inserted text. More...
 
void * edje_object_text_insert_filter_callback_del (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func)
 Deletes a function from the filter list. More...
 
void * edje_object_text_insert_filter_callback_del_full (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data)
 Deletes a function and matching user data from the filter list. More...
 
void edje_object_text_markup_filter_callback_add (Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data)
 Adds a markup filter function for newly inserted text. More...
 
void * edje_object_text_markup_filter_callback_del (Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func)
 Deletes a function from the markup filter list. More...
 
void * edje_object_text_markup_filter_callback_del_full (Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data)
 Deletes a function and matching user data from the markup filter list. More...
 
void edje_object_part_text_user_insert (const Evas_Object *obj, const char *part, const char *text)
 This function inserts text as if the user has inserted it. More...
 
void edje_object_part_text_append (Evas_Object *obj, const char *part, const char *text)
 Inserts text for an object part. More...
 
Eina_Bool edje_object_part_text_escaped_set (Evas_Object *obj, const char *part, const char *text)
 Sets the text for an object part, but converts HTML escapes to UTF8. More...
 
Eina_Bool edje_object_part_text_unescaped_set (Evas_Object *obj, const char *part, const char *text_to_escape)
 Sets the raw (non escaped) text for an object part. More...
 
char * edje_object_part_text_unescaped_get (const Evas_Object *obj, const char *part)
 Returns the text of the object part, without escaping. More...
 
void edje_object_part_text_insert (Evas_Object *obj, const char *part, const char *text)
 Inserts text for an object part. More...
 
void edje_object_part_text_autocapital_type_set (Evas_Object *obj, const char *part, Edje_Text_Autocapital_Type autocapital_type)
 Sets the autocapitalization type on the immodule. More...
 
Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get (const Evas_Object *obj, const char *part)
 Retrieves the autocapitalization type. More...
 
void edje_object_part_text_prediction_allow_set (Evas_Object *obj, const char *part, Eina_Bool prediction)
 Sets whether the prediction is allowed or not. More...
 
Eina_Bool edje_object_part_text_prediction_allow_get (const Evas_Object *obj, const char *part)
 Gets whether the prediction is allowed or not. More...
 
void * edje_object_part_text_imf_context_get (const Evas_Object *obj, const char *part)
 Gets the input method context in entry. More...
 
void edje_object_part_text_imf_context_reset (const Evas_Object *obj, const char *part)
 Resets the input method context if needed. More...
 
void edje_object_part_text_input_hint_set (Evas_Object *obj, const char *part, Edje_Input_Hints input_hints)
 Sets the input hint which allows input methods to fine-tune their behavior. More...
 
Edje_Input_Hints edje_object_part_text_input_hint_get (const Evas_Object *obj, const char *part)
 Gets the value of input hint. More...
 
void edje_object_part_text_input_panel_show (const Evas_Object *obj, const char *part)
 Shows the input panel (virtual keyboard) based on the input panel property such as layout, autocapital types, and so on. More...
 
void edje_object_part_text_input_panel_hide (const Evas_Object *obj, const char *part)
 Hides the input panel (virtual keyboard). More...
 
void edje_object_part_text_input_panel_imdata_set (Evas_Object *obj, const char *part, const void *data, int len)
 Sets the input panel-specific data to deliver to the input panel. More...
 
void edje_object_part_text_input_panel_imdata_get (const Evas_Object *obj, const char *part, void *data, int *len)
 Gets the specific data of the current active input panel. More...
 
void edje_object_part_text_input_panel_layout_set (Evas_Object *obj, const char *part, Edje_Input_Panel_Layout layout)
 Sets the layout of the input panel. More...
 
Edje_Input_Panel_Layout edje_object_part_text_input_panel_layout_get (const Evas_Object *obj, const char *part)
 Gets the layout of the input panel. More...
 
void edje_object_part_text_input_panel_language_set (Evas_Object *obj, const char *part, Edje_Input_Panel_Lang lang)
 Sets the language mode of the input panel. More...
 
Edje_Input_Panel_Lang edje_object_part_text_input_panel_language_get (const Evas_Object *obj, const char *part)
 Gets the language mode of the input panel. More...
 
void edje_object_part_text_input_panel_layout_variation_set (Evas_Object *obj, const char *part, int variation)
 Sets the layout variation of the input panel. More...
 
int edje_object_part_text_input_panel_layout_variation_get (const Evas_Object *obj, const char *part)
 Gets the layout variation of the input panel. More...
 
void edje_object_part_text_input_panel_enabled_set (Evas_Object *obj, const char *part, Eina_Bool enabled)
 Sets the attribute to show the input panel automatically. More...
 
Eina_Bool edje_object_part_text_input_panel_enabled_get (const Evas_Object *obj, const char *part)
 Retrieves the attribute to show the input panel automatically. More...
 
void edje_object_part_text_input_panel_return_key_disabled_set (Evas_Object *obj, const char *part, Eina_Bool disabled)
 Sets the return key on the input panel to be disabled. More...
 
Eina_Bool edje_object_part_text_input_panel_return_key_disabled_get (const Evas_Object *obj, const char *part)
 Gets whether the return key on the input panel should be disabled or not. More...
 
void edje_object_part_text_input_panel_return_key_type_set (Evas_Object *obj, const char *part, Edje_Input_Panel_Return_Key_Type return_key_type)
 Sets the "return" key type. More...
 
Edje_Input_Panel_Return_Key_Type edje_object_part_text_input_panel_return_key_type_get (const Evas_Object *obj, const char *part)
 Gets the "return" key type. More...
 
void edje_object_part_text_input_panel_show_on_demand_set (Evas_Object *obj, const char *part, Eina_Bool ondemand)
 Sets the attribute to show the input panel in case of only an user's explicit Mouse Up event. More...
 
Eina_Bool edje_object_part_text_input_panel_show_on_demand_get (const Evas_Object *obj, const char *part)
 Gets the attribute to show the input panel in case of only an user's explicit Mouse Up event. More...
 
void edje_object_part_text_prediction_hint_set (Evas_Object *obj, const char *part, const char *prediction_hint)
 Sets the prediction hint to use an intelligent reply suggestion service. More...
 
Eina_Bool edje_object_part_text_prediction_hint_hash_set (Evas_Object *obj, const char *part, const char *key, const char *value)
 Sets the prediction hint data at the specified key. More...
 
Eina_Bool edje_object_part_text_prediction_hint_hash_del (Evas_Object *obj, const char *part, const char *key)
 Removes the prediction hint data identified by a key. More...
 
void edje_object_part_text_select_begin (const Evas_Object *obj, const char *part)
 Starts selecting at current cursor position. More...
 
void edje_object_part_text_select_abort (const Evas_Object *obj, const char *part)
 Aborts any selection action on a part. More...
 
void edje_object_part_text_select_extend (const Evas_Object *obj, const char *part)
 Extends the current selection to the current cursor position. More...
 
void edje_object_part_text_select_all (const Evas_Object *obj, const char *part)
 Sets the selection to be everything. More...
 
void edje_object_part_text_select_none (const Evas_Object *obj, const char *part)
 Sets the selection to be none. More...
 
const char * edje_object_part_text_selection_get (const Evas_Object *obj, const char *part)
 Returns the selection text of the object part. More...
 
void edje_object_play_set (Evas_Object *obj, Eina_Bool play)
 Whether this object is playing or not. More...
 
Eina_Bool edje_object_play_get (const Evas_Object *obj)
 Whether this object is playing or not. More...
 
void edje_object_transition_duration_factor_set (Evas_Object *obj, double scale)
 Transition duration factor. More...
 
double edje_object_transition_duration_factor_get (const Evas_Object *obj)
 Transition duration factor. More...
 
void edje_object_size_min_get (const Evas_Object *obj, int *minw, int *minh)
 Gets the minimum size specified – as an EDC property – for a given Edje object. More...
 
void edje_object_size_max_get (const Evas_Object *obj, int *maxw, int *maxh)
 Gets the maximum size specified – as an EDC property – for a given Edje object. More...
 
Eina_Bool edje_object_part_exists (const Evas_Object *obj, const char *part)
 Checks if a part exists in a given Edje object's group definition. More...
 
void edje_object_item_provider_set (Edje_Object *obj, Edje_Item_Provider_Cb func, void *data)
 Sets the function that provides item objects for named items in an edje entry text. More...
 
const char * edje_object_color_class_description_get (const Edje_Object *obj, const char *color_class)
 Gets the description of an object color class. More...
 

Detailed Description

Functions that deal with dragable parts.

To create a movable part it must be declared as dragable in EDC file. To do so, one must define a "dragable" block inside the "part" block.

These functions are used to set dragging properties to a part or get dragging information about it.

See also
Dragable parts example *

Function Documentation

◆ edje_object_part_drag_value_set()

Eina_Bool edje_object_part_drag_value_set ( Evas_Object obj,
const char *  part,
double  dx,
double  dy 
)

Sets the dragable object location.

Places the dragable object at the given location.

Values for dx and dy are real numbers that range from 0 to 1, representing the relative position to the dragable area on that axis.

This value means, for the vertical axis, that 0.0 will be at the top if the first parameter of y in the dragable part theme is 1, and at bottom if it is -1.

For the horizontal axis, 0.0 means left if the first parameter of x in the dragable part theme is 1, and right if it is -1.

See also edje_object_part_drag_value_get()

Parameters
[in]partThe part name
[in]dxThe x value
[in]dyThe y value
Returns
true on success, false otherwise

◆ edje_object_part_drag_value_get()

Eina_Bool edje_object_part_drag_value_get ( const Evas_Object obj,
const char *  part,
double *  dx,
double *  dy 
)

Gets the dragable object location.

Values for dx and dy are real numbers that range from 0 to 1, representing the relative position to the dragable area on that axis.

See also edje_object_part_drag_value_set()

Gets the drag location values.

Parameters
[in]partThe part name
[out]dxThe x value
[out]dyThe y value
Returns
true on success, false otherwise

◆ edje_object_part_drag_size_set()

Eina_Bool edje_object_part_drag_size_set ( Evas_Object obj,
const char *  part,
double  dw,
double  dh 
)

Sets the dragable object size.

Values for dw and dh are real numbers that range from 0 to 1, representing the relative size of the dragable area on that axis.

Sets the size of the dragable object.

See also edje_object_part_drag_size_get()

Parameters
[in]partThe part name
[in]dwThe drag width
[in]dhThe drag height
Returns
true on success, false otherwise

◆ edje_object_part_drag_size_get()

Eina_Bool edje_object_part_drag_size_get ( const Evas_Object obj,
const char *  part,
double *  dw,
double *  dh 
)

Gets the dragable object size.

Gets the dragable object size.

See also edje_object_part_drag_size_set()

Parameters
[in]partThe part name
[out]dwThe drag width
[out]dhThe drag height
Returns
true on success, false otherwise

◆ edje_object_part_drag_dir_get()

Edje_Drag_Dir edje_object_part_drag_dir_get ( const Evas_Object obj,
const char *  part 
)

Determines dragable directions.

The dragable directions are defined in the EDC file, inside the dragable section, by the attributes x and y. See the Edje Data Collection reference for more information.

Parameters
[in]partThe part name
Returns
EDJE_DRAG_DIR_NONE: Not dragable EDJE_DRAG_DIR_X: Dragable in X direction EDJE_DRAG_DIR_Y: Dragable in Y direction EDJE_DRAG_DIR_XY: Dragable in X & Y directions

◆ edje_object_part_drag_step_set()

Eina_Bool edje_object_part_drag_step_set ( Evas_Object obj,
const char *  part,
double  dx,
double  dy 
)

Sets the drag step increment.

Sets the x,y step increments for a dragable object.

Values for dx and dy are real numbers that range from 0 to 1, representing the relative size of the dragable area on that axis by which the part will be moved.

See also edje_object_part_drag_step_get()

Parameters
[in]partThe part name
[in]dxThe x step amount
[in]dyThe y step amount
Returns
true on success, false otherwise

◆ edje_object_part_drag_step_get()

Eina_Bool edje_object_part_drag_step_get ( const Evas_Object obj,
const char *  part,
double *  dx,
double *  dy 
)

Gets the drag step increment values.

Gets the x and y step increments for the dragable object.

See also edje_object_part_drag_step_set()

Parameters
[in]partThe part name
[out]dxThe x step amount
[out]dyThe y step amount
Returns
true on success, false otherwise

◆ edje_object_part_drag_step()

Eina_Bool edje_object_part_drag_step ( Evas_Object obj,
const char *  part,
double  dx,
double  dy 
)

Steps the dragable x,y steps.

Steps x,y where the step increment is the amount set by edje_object_part_drag_step_set().

Values for dx and dy are real numbers that range from 0 to 1.

See also edje_object_part_drag_page()

Parameters
[in]partThe part name
[in]dxThe x step
[in]dyThe y step
Returns
true on success, false otherwise

◆ edje_object_part_drag_page_set()

Eina_Bool edje_object_part_drag_page_set ( Evas_Object obj,
const char *  part,
double  dx,
double  dy 
)

Sets the page step increments.

Sets the x,y page step increment values.

Values for dx and dy are real numbers that range from 0 to 1, representing the relative size of the dragable area on that axis by which the part will be moved.

See also edje_object_part_drag_page_get()

Parameters
[in]partThe part name
[in]dxThe x page step increment
[in]dyThe y page step increment
Returns
true on success, false otherwise

◆ edje_object_part_drag_page_get()

Eina_Bool edje_object_part_drag_page_get ( const Evas_Object obj,
const char *  part,
double *  dx,
double *  dy 
)

Gets the page step increments.

Gets the x,y page step increments for the dragable object.

See also edje_object_part_drag_page_set()

Parameters
[in]partThe part name
[out]dxThe x page step increment
[out]dyThe y page step increment
Returns
true on success, false otherwise

◆ edje_object_part_drag_page()

Eina_Bool edje_object_part_drag_page ( Evas_Object obj,
const char *  part,
double  dx,
double  dy 
)

Pages x,y steps.

Pages x,y where the increment is defined by edje_object_part_drag_page_set().

Values for dx and dy are real numbers that range from 0 to 1.

Warning
Paging is bugged!

See also edje_object_part_drag_step()

Parameters
[in]partThe part name
[in]dxThe x step
[in]dyThe y step
Returns
true on success, false otherwise

◆ edje_object_part_text_set()

Eina_Bool edje_object_part_text_set ( const Evas_Object obj,
const char *  part,
const char *  text 
)

Sets a given text to an Edje object TEXT or TEXTBLOCK parts.

Parameters
[in]partThe part name
[in]textThe text to set on that part
Examples:
edje-color-class.c, and edje-text.c.

References EINA_FALSE, and EINA_TRUE.

◆ edje_object_part_text_get()

const char* edje_object_part_text_get ( const Evas_Object obj,
const char *  part 
)

Gets the text currntly set to the given part.

Parameters
[in]partThe part name
Returns
The text set on the part, null otherwise.

◆ edje_object_part_text_cursor_begin_set()

void edje_object_part_text_cursor_begin_set ( Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Moves the cursor to the beginning of the text part evas_textblock_cursor_paragraph_first.

Parameters
[in]partThe part name
[in]curThe edje cursor to work on

◆ edje_object_part_text_cursor_end_set()

void edje_object_part_text_cursor_end_set ( Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Moves the cursor to the end of the text part.

evas_textblock_cursor_paragraph_last

Parameters
[in]partThe part name
[in]curThe edje cursor to work on

◆ edje_object_part_text_cursor_pos_set()

void edje_object_part_text_cursor_pos_set ( Evas_Object obj,
const char *  part,
Edje_Cursor  cur,
int  pos 
)

Sets the cursor position to the given value.

Parameters
[in]partThe part name
[in]curThe cursor to move
[in]posThe position of the cursor
Since
1.1.0

◆ edje_object_part_text_cursor_pos_get()

int edje_object_part_text_cursor_pos_get ( const Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Retrieves the current position of the cursor.

Parameters
[in]partThe part name
[in]curThe cursor to move
Returns
The position of the cursor
Since
1.1.0

◆ edje_object_part_text_cursor_coord_set()

Eina_Bool edje_object_part_text_cursor_coord_set ( Evas_Object obj,
const char *  part,
Edje_Cursor  cur,
int  x,
int  y 
)

Position the given cursor to a X,Y position.

This is frequently used with the user cursor.

Parameters
[in]partThe part containing the object.
[in]curThe cursor to adjust.
[in]xX Coordinate.
[in]yY Coordinate.
Returns
true on success, false otherwise

References EINA_TRUE.

◆ edje_object_part_text_cursor_line_begin_set()

void edje_object_part_text_cursor_line_begin_set ( Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Moves the cursor to the beginning of the line.

evas_textblock_cursor_line_char_first

Parameters
[in]partThe part name
[in]curThe edje cursor to work on

◆ edje_object_part_text_cursor_line_end_set()

void edje_object_part_text_cursor_line_end_set ( Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Moves the cursor to the end of the line.

evas_textblock_cursor_line_char_last

Parameters
[in]partThe part name
[in]curThe edje cursor to work on

◆ edje_object_part_text_cursor_prev()

Eina_Bool edje_object_part_text_cursor_prev ( Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Moves the cursor to the previous char evas_textblock_cursor_char_prev.

Parameters
[in]partThe part name
[in]curThe edje cursor to work on
Returns
true on success, false otherwise

References EINA_FALSE, and EINA_TRUE.

◆ edje_object_part_text_cursor_next()

Eina_Bool edje_object_part_text_cursor_next ( Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Advances the cursor to the next cursor position.

evas_textblock_cursor_char_next

Parameters
[in]partThe part name
[in]curThe edje cursor to advance
Returns
true on success, false otherwise

References EINA_FALSE, and EINA_TRUE.

◆ edje_object_part_text_cursor_up()

Eina_Bool edje_object_part_text_cursor_up ( Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Moves the cursor to the char above the current cursor position.

Parameters
[in]partThe part name
[in]curThe edje cursor to work on
Returns
true on success, false otherwise

References EINA_FALSE, and EINA_TRUE.

◆ edje_object_part_text_cursor_down()

Eina_Bool edje_object_part_text_cursor_down ( Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Moves the cursor to the char below the current cursor position.

Parameters
[in]partThe part name
[in]curThe edje cursor to work on
Returns
true on success, false otherwise

References EINA_FALSE, and EINA_TRUE.

◆ edje_object_part_text_cursor_copy()

void edje_object_part_text_cursor_copy ( Evas_Object obj,
const char *  part,
Edje_Cursor  src,
Edje_Cursor  dst 
)

Copies the cursor to another cursor.

Parameters
[in]partThe part name
[in]srcThe cursor to copy from
[in]dstThe cursor to copy to

◆ edje_object_part_text_cursor_content_get()

char* edje_object_part_text_cursor_content_get ( const Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Returns the content (char) at the cursor position.

evas_textblock_cursor_content_get

You must free the return (if not null) after you are done with it.

Parameters
[in]partThe part name
[in]curThe cursor to use
Returns
The character string pointed to (may be a multi-byte utf8 sequence) terminated by a null byte.

References efl_data_scope_get().

◆ edje_object_part_text_cursor_geometry_get()

void edje_object_part_text_cursor_geometry_get ( const Evas_Object obj,
const char *  part,
int *  x,
int *  y,
int *  w,
int *  h 
)

Returns the cursor geometry of the part relative to the edje object.

Parameters
[in]partThe part name
[out]xCursor X position
[out]yCursor Y position
[out]wCursor width
[out]hCursor height

◆ edje_object_part_text_hide_visible_password()

Eina_Bool edje_object_part_text_hide_visible_password ( Evas_Object obj,
const char *  part 
)

Hides visible last character for password mode.

Parameters
[in]partThe part name
Returns
true if the visible character is hidden. false if there is no visible character or the object is not set for password mode.
Since
1.18.0

References efl_data_scope_get(), and EINA_FALSE.

◆ edje_object_part_text_cursor_is_format_get()

Eina_Bool edje_object_part_text_cursor_is_format_get ( const Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Returns whether the cursor points to a format.

evas_textblock_cursor_is_format

Parameters
[in]partThe part name
[in]curThe cursor to adjust.
Returns
true if the cursor points to a format, false otherwise.

References EINA_FALSE.

◆ edje_object_part_text_cursor_is_visible_format_get()

Eina_Bool edje_object_part_text_cursor_is_visible_format_get ( const Evas_Object obj,
const char *  part,
Edje_Cursor  cur 
)

Returns true if the cursor points to a visible format For example \t, \n, item and etc.

evas_textblock_cursor_format_is_visible_get

Parameters
[in]partThe part name
[in]curThe cursor to adjust.
Returns
true if the cursor points to a visible format, false otherwise.

References EINA_FALSE.

◆ edje_object_part_text_anchor_geometry_get()

const Eina_List* edje_object_part_text_anchor_geometry_get ( const Evas_Object obj,
const char *  part,
const char *  anchor 
)

Returns a list of Evas_Textblock_Rectangle anchor rectangles.

This function return a list of Evas_Textblock_Rectangle anchor rectangles.

Parameters
[in]partThe part name
[in]anchorThe anchor name
Returns
The list of anchor rects (const Evas_Textblock_Rectangle *), do not modify! Geometry is relative to entry part.

◆ edje_object_part_text_anchor_list_get()

const Eina_List* edje_object_part_text_anchor_list_get ( const Evas_Object obj,
const char *  part 
)

Returns a list of char anchor names.

This function returns a list of char anchor names.

Parameters
[in]partThe part name
Returns
The list of anchors (const char *), do not modify!

◆ edje_object_part_text_style_user_peek()

const char* edje_object_part_text_style_user_peek ( const Evas_Object obj,
const char *  part 
)

Returns the text of the object part.

This function returns the style associated with the textblock part.

Parameters
[in]partThe part name
Returns
The text string
Since
1.2.0

References efl_data_scope_get().

◆ edje_object_part_text_style_user_push()

void edje_object_part_text_style_user_push ( Evas_Object obj,
const char *  part,
const char *  style 
)

Sets the style of the.

This function sets the style associated with the textblock part.

Parameters
[in]partThe part name
[in]styleThe style to set (textblock conventions).
Since
1.2.0

References efl_data_scope_get().

◆ edje_object_part_text_style_user_pop()

void edje_object_part_text_style_user_pop ( Evas_Object obj,
const char *  part 
)

Deletes the top style form the user style stack.

Parameters
[in]partThe part name
Since
1.2.0

References efl_data_scope_get().

◆ edje_object_part_text_item_geometry_get()

Eina_Bool edje_object_part_text_item_geometry_get ( const Evas_Object obj,
const char *  part,
const char *  item,
int *  cx,
int *  cy,
int *  cw,
int *  ch 
)

Returns item geometry.

This function return a list of Evas_Textblock_Rectangle item rectangles.

Parameters
[in]partThe part name
[in]itemThe item name
[out]cxItem x return (relative to entry part)
[out]cyItem y return (relative to entry part)
[out]cwItem width return
[out]chItem height return
Returns
$1 if item exists, $0 if not

References efl_data_scope_get(), and EINA_FALSE.

◆ edje_object_part_text_item_list_get()

const Eina_List* edje_object_part_text_item_list_get ( const Evas_Object obj,
const char *  part 
)

Returns a list of char item names.

This function returns a list of char item names.

Parameters
[in]partThe part name
Returns
The list of items (const char *), do not modify!

References efl_data_scope_get().

◆ edje_object_text_insert_filter_callback_add()

void edje_object_text_insert_filter_callback_add ( Evas_Object obj,
const char *  part,
Edje_Text_Filter_Cb  func,
void *  data 
)

Adds a filter function for newly inserted text.

Whenever text is inserted (not the same as set) into the given part, the list of filter functions will be called to decide if and how the new text will be accepted. There are three types of filters, EDJE_TEXT_FILTER_TEXT, EDJE_TEXT_FILTER_FORMAT and EDJE_TEXT_FILTER_MARKUP. The text parameter in the func filter can be modified by the user and it's up to him to free the one passed if he's to change the pointer. If doing so, the newly set text should be malloc'ed, as once all the filters are called Edje will free it. If the text is to be rejected, freeing it and setting the pointer to null will make Edje break out of the filter cycle and reject the inserted text.

Warning
This function will be deprecated because of difficulty in use. The type(format, text, or markup) of text should be always checked in the filter function for correct filtering. Please use edje_object_text_markup_filter_callback_add() instead. There is no need to check the type of text in the filter function because the text is always markup. Warning: If you use this function with edje_object_text_markup_filter_callback_add() together, all Edje_Text_Filter_Cb functions and Edje_Markup_Filter_Cb functions will be executed, and then filtered text will be inserted.

See also edje_object_text_insert_filter_callback_del, edje_object_text_insert_filter_callback_del_full and edje_object_text_markup_filter_callback_add

Parameters
[in]partThe part name
[in]funcThe callback function that will act as filter
[in]dataUser provided data to pass to the filter function

References efl_data_scope_get(), eina_list_append(), and eina_stringshare_add().

◆ edje_object_text_insert_filter_callback_del()

void* edje_object_text_insert_filter_callback_del ( Evas_Object obj,
const char *  part,
Edje_Text_Filter_Cb  func 
)

Deletes a function from the filter list.

Delete the given func filter from the list in part. Returns the user data pointer given when added.

See also edje_object_text_insert_filter_callback_add and edje_object_text_insert_filter_callback_del_full

Parameters
[in]partThe part name
[in]funcThe function callback to remove
Returns
The user data pointer if successful, or null otherwise

References efl_data_scope_get(), EINA_LIST_FOREACH, eina_list_remove_list(), and eina_stringshare_del().

◆ edje_object_text_insert_filter_callback_del_full()

void* edje_object_text_insert_filter_callback_del_full ( Evas_Object obj,
const char *  part,
Edje_Text_Filter_Cb  func,
void *  data 
)

Deletes a function and matching user data from the filter list.

Delete the given func filter and data user data from the list in part. Returns the user data pointer given when added.

See also edje_object_text_insert_filter_callback_add and edje_object_text_insert_filter_callback_del

Parameters
[in]partThe part name
[in]funcThe function callback to remove
[in]dataThe data passed to the callback function
Returns
The same data pointer if successful, or null otherwise

References efl_data_scope_get(), EINA_LIST_FOREACH, eina_list_remove_list(), and eina_stringshare_del().

◆ edje_object_text_markup_filter_callback_add()

void edje_object_text_markup_filter_callback_add ( Evas_Object obj,
const char *  part,
Edje_Markup_Filter_Cb  func,
void *  data 
)

Adds a markup filter function for newly inserted text.

Whenever text is inserted (not the same as set) into the given part, the list of markup filter functions will be called to decide if and how the new text will be accepted. The text parameter in the func filter is always markup. It can be modified by the user and it's up to him to free the one passed if he's to change the pointer. If doing so, the newly set text should be malloc'ed, as once all the filters are called Edje will free it. If the text is to be rejected, freeing it and setting the pointer to null will make Edje break out of the filter cycle and reject the inserted text. This function is different from edje_object_text_insert_filter_callback_add() in that the text parameter in the fucn filter is always markup.

Warning
If you use this function with edje_object_text_insert_filter_callback_add() togehter, all Edje_Text_Filter_Cb functions and Edje_Markup_Filter_Cb functions will be executed, and then filtered text will be inserted.

See also edje_object_text_markup_filter_callback_del, edje_object_text_markup_filter_callback_del_full and edje_object_text_insert_filter_callback_add

Parameters
[in]partThe part name
[in]funcThe callback function that will act as markup filter
[in]dataUser provided data to pass to the filter function
Since
1.2.0

References efl_data_scope_get(), eina_list_append(), and eina_stringshare_add().

◆ edje_object_text_markup_filter_callback_del()

void* edje_object_text_markup_filter_callback_del ( Evas_Object obj,
const char *  part,
Edje_Markup_Filter_Cb  func 
)

Deletes a function from the markup filter list.

Delete the given func filter from the list in part. Returns the user data pointer given when added.

See also edje_object_text_markup_filter_callback_add and edje_object_text_markup_filter_callback_del_full

Parameters
[in]partThe part name
[in]funcThe function callback to remove
Returns
The user data pointer if successful, or null otherwise
Since
1.2.0

References efl_data_scope_get(), EINA_LIST_FOREACH, eina_list_remove_list(), and eina_stringshare_del().

◆ edje_object_text_markup_filter_callback_del_full()

void* edje_object_text_markup_filter_callback_del_full ( Evas_Object obj,
const char *  part,
Edje_Markup_Filter_Cb  func,
void *  data 
)

Deletes a function and matching user data from the markup filter list.

Delete the given func filter and data user data from the list in part. Returns the user data pointer given when added.

See also edje_object_text_markup_filter_callback_add and edje_object_text_markup_filter_callback_del

Parameters
[in]partThe part name
[in]funcThe function callback to remove
[in]dataThe data passed to the callback function
Returns
The same data pointer if successful, or null otherwise
Since
1.2.0

References efl_data_scope_get(), EINA_LIST_FOREACH, eina_list_remove_list(), and eina_stringshare_del().

◆ edje_object_part_text_user_insert()

void edje_object_part_text_user_insert ( const Evas_Object obj,
const char *  part,
const char *  text 
)

This function inserts text as if the user has inserted it.

This means it actually registers as a change and emits signals, triggers callbacks as appropriate.

Parameters
[in]partThe part name
[in]textThe text string
Since
1.2.0

References efl_data_scope_get().

◆ edje_object_part_text_append()

void edje_object_part_text_append ( Evas_Object obj,
const char *  part,
const char *  text 
)

Inserts text for an object part.

This function inserts the text for an object part at the end; It does not move the cursor.

Parameters
[in]partThe part name
[in]textThe text string
Since
1.1

References efl_data_scope_get().

◆ edje_object_part_text_escaped_set()

Eina_Bool edje_object_part_text_escaped_set ( Evas_Object obj,
const char *  part,
const char *  text 
)

Sets the text for an object part, but converts HTML escapes to UTF8.

This converts the given string text to UTF8 assuming it contains HTML style escapes like "&" and "©" etc. IF the part is of type TEXT, as opposed to TEXTBLOCK.

Parameters
[in]partThe part name
[in]textThe text string
Returns
true on success, false otherwise
Since
1.2

References efl_data_scope_get(), and EINA_FALSE.

◆ edje_object_part_text_unescaped_set()

Eina_Bool edje_object_part_text_unescaped_set ( Evas_Object obj,
const char *  part,
const char *  text_to_escape 
)

Sets the raw (non escaped) text for an object part.

This function will not do escape for you if it is a TEXTBLOCK part, that is, if text contain tags, these tags will not be interpreted/parsed by TEXTBLOCK.

See also edje_object_part_text_unescaped_get().

Parameters
[in]partThe part name
[in]text_to_escapeThe text string
Returns
true on success, false otherwise

References efl_data_scope_get(), and EINA_FALSE.

◆ edje_object_part_text_unescaped_get()

char* edje_object_part_text_unescaped_get ( const Evas_Object obj,
const char *  part 
)

Returns the text of the object part, without escaping.

This function is the counterpart of edje_object_part_text_unescaped_set(). Please notice that the result is newly allocated memory and should be released with free() when done.

See also edje_object_part_text_unescaped_set().

Parameters
[in]partThe part name
Returns
The text string

References efl_data_scope_get().

◆ edje_object_part_text_insert()

void edje_object_part_text_insert ( Evas_Object obj,
const char *  part,
const char *  text 
)

Inserts text for an object part.

This function inserts the text for an object part just before the cursor position.

Parameters
[in]partThe part name
[in]textThe text string

References efl_data_scope_get().

◆ edje_object_part_text_autocapital_type_set()

void edje_object_part_text_autocapital_type_set ( Evas_Object obj,
const char *  part,
Edje_Text_Autocapital_Type  autocapital_type 
)

Sets the autocapitalization type on the immodule.

Parameters
[in]partThe part name
[in]autocapital_typeThe type of autocapitalization
Since
1.1.0

◆ edje_object_part_text_autocapital_type_get()

Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get ( const Evas_Object obj,
const char *  part 
)

Retrieves the autocapitalization type.

Parameters
[in]partThe part name
Returns
The type of autocapitalization
Since
1.1.0

◆ edje_object_part_text_prediction_allow_set()

void edje_object_part_text_prediction_allow_set ( Evas_Object obj,
const char *  part,
Eina_Bool  prediction 
)

Sets whether the prediction is allowed or not.

Parameters
[in]partThe part name
[in]predictionIf true, the prediction feature is allowed.
Since
1.2.0

◆ edje_object_part_text_prediction_allow_get()

Eina_Bool edje_object_part_text_prediction_allow_get ( const Evas_Object obj,
const char *  part 
)

Gets whether the prediction is allowed or not.

Parameters
[in]partThe part name
Returns
If true, the prediction feature is allowed.
Since
1.2.0

References EINA_FALSE.

◆ edje_object_part_text_imf_context_get()

void* edje_object_part_text_imf_context_get ( const Evas_Object obj,
const char *  part 
)

Gets the input method context in entry.

If ecore_imf was not available when edje was compiled, this function returns null otherwise, the returned pointer is an Ecore_IMF

Parameters
[in]partThe part name
Returns
The input method context (Ecore_IMF_Context *) in entry
Since
1.2.0

◆ edje_object_part_text_imf_context_reset()

void edje_object_part_text_imf_context_reset ( const Evas_Object obj,
const char *  part 
)

Resets the input method context if needed.

This can be necessary in the case where modifying the buffer would confuse on-going input method behavior

Parameters
[in]partThe part name
Since
1.2.0

◆ edje_object_part_text_input_hint_set()

void edje_object_part_text_input_hint_set ( Evas_Object obj,
const char *  part,
Edje_Input_Hints  input_hints 
)

Sets the input hint which allows input methods to fine-tune their behavior.

Parameters
[in]partThe part name
[in]input_hintsInput hints
Since
1.12.0

◆ edje_object_part_text_input_hint_get()

Edje_Input_Hints edje_object_part_text_input_hint_get ( const Evas_Object obj,
const char *  part 
)

Gets the value of input hint.

Parameters
[in]partThe part name
Returns
Input hints
Since
1.12.0

References EINA_FALSE.

◆ edje_object_part_text_input_panel_show()

void edje_object_part_text_input_panel_show ( const Evas_Object obj,
const char *  part 
)

Shows the input panel (virtual keyboard) based on the input panel property such as layout, autocapital types, and so on.

Note that input panel is shown or hidden automatically according to the focus state. This API can be used in the case of manually controlling by using edje_object_part_text_input_panel_enabled_set.

Parameters
[in]partThe part name
Since
1.2.0

◆ edje_object_part_text_input_panel_hide()

void edje_object_part_text_input_panel_hide ( const Evas_Object obj,
const char *  part 
)

Hides the input panel (virtual keyboard).

See also edje_object_part_text_input_panel_show

Note that input panel is shown or hidden automatically according to the focus state. This API can be used in the case of manually controlling by using edje_object_part_text_input_panel_enabled_set.

Parameters
[in]partThe part name
Since
1.2.0

◆ edje_object_part_text_input_panel_imdata_set()

void edje_object_part_text_input_panel_imdata_set ( Evas_Object obj,
const char *  part,
const void *  data,
int  len 
)

Sets the input panel-specific data to deliver to the input panel.

This API is used by applications to deliver specific data to the input panel. The data format MUST be negotiated by both application and the input panel. The size and format of data are defined by the input panel.

Parameters
[in]partThe part name
[in]dataThe specific data to be set to the input panel.
[in]lenThe length of data, in bytes, to send to the input panel
Since
1.2.0

◆ edje_object_part_text_input_panel_imdata_get()

void edje_object_part_text_input_panel_imdata_get ( const Evas_Object obj,
const char *  part,
void *  data,
int *  len 
)

Gets the specific data of the current active input panel.

Parameters
[in]partThe part name
[in]dataThe specific data to be set to the input panel.
[out]lenThe length of data, in bytes, to send to the input panel
Returns
FIXME: void needed here?
Since
1.2.0

◆ edje_object_part_text_input_panel_layout_set()

void edje_object_part_text_input_panel_layout_set ( Evas_Object obj,
const char *  part,
Edje_Input_Panel_Layout  layout 
)

Sets the layout of the input panel.

The layout of the input panel or virtual keyboard can make it easier or harder to enter content. This allows you to hint what kind of input you are expecting to enter and thus have the input panel automatically come up with the right mode.

Parameters
[in]partThe part name
[in]layoutLayout type of the input panel
Since
1.1

◆ edje_object_part_text_input_panel_layout_get()

Edje_Input_Panel_Layout edje_object_part_text_input_panel_layout_get ( const Evas_Object obj,
const char *  part 
)

Gets the layout of the input panel.

See also edje_object_part_text_input_panel_layout_set

Parameters
[in]partThe part name
Returns
Layout type of the input panel
Since
1.1

◆ edje_object_part_text_input_panel_language_set()

void edje_object_part_text_input_panel_language_set ( Evas_Object obj,
const char *  part,
Edje_Input_Panel_Lang  lang 
)

Sets the language mode of the input panel.

This API can be used if you want to show the Alphabet keyboard.

Parameters
[in]partThe part name
[in]langThe language to be set to the input panel.
Since
1.2.0

◆ edje_object_part_text_input_panel_language_get()

Edje_Input_Panel_Lang edje_object_part_text_input_panel_language_get ( const Evas_Object obj,
const char *  part 
)

Gets the language mode of the input panel.

See also edje_object_part_text_input_panel_language_set for more details.

Parameters
[in]partThe part name
Returns
The language to be set to the input panel.
Since
1.2.0

◆ edje_object_part_text_input_panel_layout_variation_set()

void edje_object_part_text_input_panel_layout_variation_set ( Evas_Object obj,
const char *  part,
int  variation 
)

Sets the layout variation of the input panel.

The layout variation of the input panel or virtual keyboard can make it easier or harder to enter content. This allows you to hint what kind of input you are expecting to enter and thus have the input panel automatically come up with the right mode.

Parameters
[in]partThe part name
[in]variationLayout variation type
Since
1.8

◆ edje_object_part_text_input_panel_layout_variation_get()

int edje_object_part_text_input_panel_layout_variation_get ( const Evas_Object obj,
const char *  part 
)

Gets the layout variation of the input panel.

See also edje_object_part_text_input_panel_layout_variation_set

Parameters
[in]partThe part name
Returns
Layout variation type
Since
1.8

◆ edje_object_part_text_input_panel_enabled_set()

void edje_object_part_text_input_panel_enabled_set ( Evas_Object obj,
const char *  part,
Eina_Bool  enabled 
)

Sets the attribute to show the input panel automatically.

Parameters
[in]partThe part name
[in]enabledIf true, the input panel is appeared when entry is clicked or has a focus
Since
1.1.0

◆ edje_object_part_text_input_panel_enabled_get()

Eina_Bool edje_object_part_text_input_panel_enabled_get ( const Evas_Object obj,
const char *  part 
)

Retrieves the attribute to show the input panel automatically.

See also edje_object_part_text_input_panel_enabled_set

Parameters
[in]partThe part name
Returns
If true, the input panel is appeared when entry is clicked or has a focus
Since
1.1.0

References EINA_FALSE.

◆ edje_object_part_text_input_panel_return_key_disabled_set()

void edje_object_part_text_input_panel_return_key_disabled_set ( Evas_Object obj,
const char *  part,
Eina_Bool  disabled 
)

Sets the return key on the input panel to be disabled.

Parameters
[in]partThe part name
[in]disabledThe state
Since
1.2.0

◆ edje_object_part_text_input_panel_return_key_disabled_get()

Eina_Bool edje_object_part_text_input_panel_return_key_disabled_get ( const Evas_Object obj,
const char *  part 
)

Gets whether the return key on the input panel should be disabled or not.

Parameters
[in]partThe part name
Returns
The state
Since
1.2.0

References EINA_FALSE.

◆ edje_object_part_text_input_panel_return_key_type_set()

void edje_object_part_text_input_panel_return_key_type_set ( Evas_Object obj,
const char *  part,
Edje_Input_Panel_Return_Key_Type  return_key_type 
)

Sets the "return" key type.

This type is used to set string or icon on the "return" key of the input panel.

An input panel displays the string or icon associated with this type

Parameters
[in]partThe part name
[in]return_key_typeThe type of "return" key on the input panel
Since
1.2.0

◆ edje_object_part_text_input_panel_return_key_type_get()

Edje_Input_Panel_Return_Key_Type edje_object_part_text_input_panel_return_key_type_get ( const Evas_Object obj,
const char *  part 
)

Gets the "return" key type.

See also edje_object_part_text_input_panel_return_key_type_set() for more details

Parameters
[in]partThe part name
Returns
The type of "return" key on the input panel
Since
1.2.0

◆ edje_object_part_text_input_panel_show_on_demand_set()

void edje_object_part_text_input_panel_show_on_demand_set ( Evas_Object obj,
const char *  part,
Eina_Bool  ondemand 
)

Sets the attribute to show the input panel in case of only an user's explicit Mouse Up event.

It doesn't request to show the input panel even though it has focus.

Parameters
[in]partThe part name
[in]ondemandIf true, the input panel will be shown in case of only Mouse up event. (Focus event will be ignored.)
Since
1.9.0

◆ edje_object_part_text_input_panel_show_on_demand_get()

Eina_Bool edje_object_part_text_input_panel_show_on_demand_get ( const Evas_Object obj,
const char *  part 
)

Gets the attribute to show the input panel in case of only an user's explicit Mouse Up event.

Parameters
[in]partThe part name
Returns
If true, the input panel will be shown in case of only Mouse up event. (Focus event will be ignored.)
Since
1.9.0

References EINA_FALSE.

◆ edje_object_part_text_prediction_hint_set()

void edje_object_part_text_prediction_hint_set ( Evas_Object obj,
const char *  part,
const char *  prediction_hint 
)

Sets the prediction hint to use an intelligent reply suggestion service.

Parameters
[in]partThe part name
[in]prediction_hintPrediction hint
Since
1.20.0

◆ edje_object_part_text_prediction_hint_hash_set()

Eina_Bool edje_object_part_text_prediction_hint_hash_set ( Evas_Object obj,
const char *  part,
const char *  key,
const char *  value 
)

Sets the prediction hint data at the specified key.

Parameters
[in]partThe part name
[in]keyThe key of the prediction hint
[in]valueThe data to replace
Returns
true on success, false otherwise
Since
1.21.0

References EINA_FALSE.

◆ edje_object_part_text_prediction_hint_hash_del()

Eina_Bool edje_object_part_text_prediction_hint_hash_del ( Evas_Object obj,
const char *  part,
const char *  key 
)

Removes the prediction hint data identified by a key.

Parameters
[in]partThe part name
[in]keyThe key of the prediction hint
Returns
true on success, false otherwise
Since
1.21.0

References EINA_FALSE.

◆ edje_object_part_text_select_begin()

void edje_object_part_text_select_begin ( const Evas_Object obj,
const char *  part 
)

Starts selecting at current cursor position.

Parameters
[in]partThe part name

◆ edje_object_part_text_select_abort()

void edje_object_part_text_select_abort ( const Evas_Object obj,
const char *  part 
)

Aborts any selection action on a part.

Parameters
[in]partThe part name

◆ edje_object_part_text_select_extend()

void edje_object_part_text_select_extend ( const Evas_Object obj,
const char *  part 
)

Extends the current selection to the current cursor position.

Parameters
[in]partThe part name

◆ edje_object_part_text_select_all()

void edje_object_part_text_select_all ( const Evas_Object obj,
const char *  part 
)

Sets the selection to be everything.

This function selects all text of the object of the part.

Parameters
[in]partThe part name
Examples:
edje-text.c.

◆ edje_object_part_text_select_none()

void edje_object_part_text_select_none ( const Evas_Object obj,
const char *  part 
)

Sets the selection to be none.

This function sets the selection text to be none.

Parameters
[in]partThe part name
Examples:
edje-text.c.

◆ edje_object_part_text_selection_get()

const char* edje_object_part_text_selection_get ( const Evas_Object obj,
const char *  part 
)

Returns the selection text of the object part.

This function returns selection text of the object part.

See also edje_object_part_text_select_all() and edje_object_part_text_select_none()

Parameters
[in]partThe part name
Returns
The text string
Examples:
edje-text.c.

◆ edje_object_play_set()

void edje_object_play_set ( Evas_Object obj,
Eina_Bool  play 
)

Whether this object is playing or not.

This property indicates whether the object is running or not. If stopped (or paused), all transitions are disabled and programs stop running, until resumed.

If play is disabled, the object will remain the same, and its parts will not change state. Note that play can be disabled during a transition between states, effectively freezing the object in flight. When paused, no events will be processed or sent.

Setting to true resumes playing from the current state.

Start or stop playing programs in this object.

Parameters
[in]playThe play state, true by default.

◆ edje_object_play_get()

Eina_Bool edje_object_play_get ( const Evas_Object obj)

Whether this object is playing or not.

This property indicates whether the object is running or not. If stopped (or paused), all transitions are disabled and programs stop running, until resumed.

If play is disabled, the object will remain the same, and its parts will not change state. Note that play can be disabled during a transition between states, effectively freezing the object in flight. When paused, no events will be processed or sent.

Setting to true resumes playing from the current state.

Get the current state of play, true by default.

Returns
The play state, true by default.

◆ edje_object_transition_duration_factor_set()

void edje_object_transition_duration_factor_set ( Evas_Object obj,
double  scale 
)

Transition duration factor.

This defines a multiplier for the duration of transitions as they are defined in EDC. By default this factor is 1.0, which means animations play at the same speed as described in EDC.

Sets transition duration factor.

Parameters
[in]scaleThe transition duration factor.

◆ edje_object_transition_duration_factor_get()

double edje_object_transition_duration_factor_get ( const Evas_Object obj)

Transition duration factor.

This defines a multiplier for the duration of transitions as they are defined in EDC. By default this factor is 1.0, which means animations play at the same speed as described in EDC.

Gets transition duration factor.

Returns
The transition duration factor.

◆ edje_object_size_min_get()

void edje_object_size_min_get ( const Evas_Object obj,
int *  minw,
int *  minh 
)

Gets the minimum size specified – as an EDC property – for a given Edje object.

This function retrieves the obj object's minimum size values, as declared in its EDC group definition. For instance, for an Edje object of minimum size 100x100 pixels: collections { group { name: "a_group"; min: 100 100; } }

Note
If the min EDC property was not declared for this object, this call will return 0x0.
On failure, this function also return 0x0.

See also edje_object_size_max_get.

Parameters
[out]minwPointer to a variable where to store the minimum width
[out]minhPointer to a variable where to store the minimum height

◆ edje_object_size_max_get()

void edje_object_size_max_get ( const Evas_Object obj,
int *  maxw,
int *  maxh 
)

Gets the maximum size specified – as an EDC property – for a given Edje object.

This function retrieves the object's maximum size values, as declared in its EDC group definition. For instance, for an Edje object of maximum size 100x100 pixels: collections { group { name: "a_group"; max: 100 100; } }

Note
If the max EDC property was not declared for the object, this call will return the maximum size a given Edje object may have, for each axis.
On failure, this function will return 0x0.

See also edje_object_size_min_get.

Parameters
[out]maxwThe maximum width
[out]maxhThe maximum height

◆ edje_object_part_exists()

Eina_Bool edje_object_part_exists ( const Evas_Object obj,
const char *  part 
)

Checks if a part exists in a given Edje object's group definition.

This function returns if a given part exists in the Edje group bound to this object (with edje_object_file_set()).

This call is useful, for example, when one could expect or not a given GUI element, depending on the theme applied to the object.

Parameters
[in]partThe part's name to check for existence in obj's group
Returns
true if the Edje part exists in obj's group, or false otherwise (and on errors)

◆ edje_object_item_provider_set()

void edje_object_item_provider_set ( Edje_Object *  obj,
Edje_Item_Provider_Cb  func,
void *  data 
)

Sets the function that provides item objects for named items in an edje entry text.

Item objects may be deleted any time by Edje, and will be deleted when the Edje object is deleted (or file is set to a new file).

Parameters
[in]objThe object.
[in]funcThe function to call (or null to disable) to get item objects
[in]dataThe data pointer to pass to the func callback

◆ edje_object_color_class_description_get()

const char* edje_object_color_class_description_get ( const Edje_Object *  obj,
const char *  color_class 
)

Gets the description of an object color class.

This function gets the description of a color class in use by an object.

Parameters
[in]color_classColor class description
Returns
The description of the target color class or null if not found