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_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. More... | |
const Eina_List * | edje_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_List * | edje_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... | |
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.
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()
[in] | part | The part name |
[in] | dx | The x value |
[in] | dy | The y value |
true
on success, false
otherwise 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.
[in] | part | The part name |
[out] | dx | The x value |
[out] | dy | The y value |
true
on success, false
otherwise 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()
[in] | part | The part name |
[in] | dw | The drag width |
[in] | dh | The drag height |
true
on success, false
otherwise 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()
[in] | part | The part name |
[out] | dw | The drag width |
[out] | dh | The drag height |
true
on success, false
otherwise 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.
[in] | part | The part name |
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()
[in] | part | The part name |
[in] | dx | The x step amount |
[in] | dy | The y step amount |
true
on success, false
otherwise 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()
[in] | part | The part name |
[out] | dx | The x step amount |
[out] | dy | The y step amount |
true
on success, false
otherwise 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()
[in] | part | The part name |
[in] | dx | The x step |
[in] | dy | The y step |
true
on success, false
otherwise 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()
[in] | part | The part name |
[in] | dx | The x page step increment |
[in] | dy | The y page step increment |
true
on success, false
otherwise 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()
[in] | part | The part name |
[out] | dx | The x page step increment |
[out] | dy | The y page step increment |
true
on success, false
otherwise 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.
See also edje_object_part_drag_step()
[in] | part | The part name |
[in] | dx | The x step |
[in] | dy | The y step |
true
on success, false
otherwise 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.
[in] | part | The part name |
[in] | text | The text to set on that part |
References EINA_FALSE, and EINA_TRUE.
const char* edje_object_part_text_get | ( | const Evas_Object * | obj, |
const char * | part | ||
) |
Gets the text currntly set to the given part.
[in] | part | The part name |
null
otherwise. Referenced by elm_layout_content_swallow_list_get().
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.
[in] | part | The part name |
[in] | cur | The edje cursor to work on |
Referenced by elm_entry_entry_get().
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
[in] | part | The part name |
[in] | cur | The edje cursor to work on |
Referenced by elm_entry_entry_get().
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.
[in] | part | The part name |
[in] | cur | The cursor to move |
[in] | pos | The position of the cursor |
Referenced by elm_entry_entry_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.
[in] | part | The part name |
[in] | cur | The cursor to move |
Referenced by elm_entry_entry_get().
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.
[in] | part | The part containing the object. |
[in] | cur | The cursor to adjust. |
[in] | x | X Coordinate. |
[in] | y | Y Coordinate. |
true
on success, false
otherwise References EINA_TRUE.
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
[in] | part | The part name |
[in] | cur | The edje cursor to work on |
Referenced by elm_entry_entry_get().
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
[in] | part | The part name |
[in] | cur | The edje cursor to work on |
Referenced by elm_entry_entry_get().
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.
[in] | part | The part name |
[in] | cur | The edje cursor to work on |
true
on success, false
otherwise References EINA_FALSE, and EINA_TRUE.
Referenced by elm_entry_entry_get().
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
[in] | part | The part name |
[in] | cur | The edje cursor to advance |
true
on success, false
otherwise References EINA_FALSE, and EINA_TRUE.
Referenced by elm_entry_entry_get().
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.
[in] | part | The part name |
[in] | cur | The edje cursor to work on |
true
on success, false
otherwise References EINA_FALSE, and EINA_TRUE.
Referenced by elm_entry_entry_get().
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.
[in] | part | The part name |
[in] | cur | The edje cursor to work on |
true
on success, false
otherwise References EINA_FALSE, and EINA_TRUE.
Referenced by elm_entry_entry_get().
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.
[in] | part | The part name |
[in] | src | The cursor to copy from |
[in] | dst | The cursor to copy to |
Referenced by elm_entry_entry_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.
[in] | part | The part name |
[in] | cur | The cursor to use |
References efl_data_scope_get().
Referenced by elm_entry_entry_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.
[in] | part | The part name |
[out] | x | Cursor X position |
[out] | y | Cursor Y position |
[out] | w | Cursor width |
[out] | h | Cursor height |
Referenced by elm_entry_entry_get().
Eina_Bool edje_object_part_text_hide_visible_password | ( | Evas_Object * | obj, |
const char * | part | ||
) |
Hides visible last character for password mode.
[in] | part | The part name |
true
if the visible character is hidden. false
if there is no visible character or the object is not set for password mode.References efl_data_scope_get(), and EINA_FALSE.
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
[in] | part | The part name |
[in] | cur | The cursor to adjust. |
true
if the cursor points to a format, false
otherwise. References EINA_FALSE.
Referenced by elm_entry_entry_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
[in] | part | The part name |
[in] | cur | The cursor to adjust. |
true
if the cursor points to a visible format, false
otherwise. References EINA_FALSE.
Referenced by elm_entry_entry_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.
[in] | part | The part name |
[in] | anchor | The anchor name |
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.
[in] | part | The part name |
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.
[in] | part | The part name |
References efl_data_scope_get().
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.
[in] | part | The part name |
[in] | style | The style to set (textblock conventions). |
References efl_data_scope_get().
void edje_object_part_text_style_user_pop | ( | Evas_Object * | obj, |
const char * | part | ||
) |
Deletes the top style form the user style stack.
[in] | part | The part name |
References efl_data_scope_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.
[in] | part | The part name |
[in] | item | The item name |
[out] | cx | Item x return (relative to entry part) |
[out] | cy | Item y return (relative to entry part) |
[out] | cw | Item width return |
[out] | ch | Item height return |
References efl_data_scope_get(), and EINA_FALSE.
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.
[in] | part | The part name |
References efl_data_scope_get().
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.
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
[in] | part | The part name |
[in] | func | The callback function that will act as filter |
[in] | data | User provided data to pass to the filter function |
References efl_data_scope_get(), eina_list_append(), and eina_stringshare_add().
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
[in] | part | The part name |
[in] | func | The function callback to remove |
null
otherwise References efl_data_scope_get(), EINA_LIST_FOREACH, eina_list_remove_list(), and eina_stringshare_del().
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
[in] | part | The part name |
[in] | func | The function callback to remove |
[in] | data | The data passed to the callback function |
null
otherwise References efl_data_scope_get(), EINA_LIST_FOREACH, eina_list_remove_list(), and eina_stringshare_del().
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.
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
[in] | part | The part name |
[in] | func | The callback function that will act as markup filter |
[in] | data | User provided data to pass to the filter function |
References efl_data_scope_get(), eina_list_append(), and eina_stringshare_add().
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
[in] | part | The part name |
[in] | func | The function callback to remove |
null
otherwiseReferences efl_data_scope_get(), EINA_LIST_FOREACH, eina_list_remove_list(), and eina_stringshare_del().
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
[in] | part | The part name |
[in] | func | The function callback to remove |
[in] | data | The data passed to the callback function |
null
otherwiseReferences efl_data_scope_get(), EINA_LIST_FOREACH, eina_list_remove_list(), and eina_stringshare_del().
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.
[in] | part | The part name |
[in] | text | The text string |
References efl_data_scope_get(), and EINA_TRUE.
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.
[in] | part | The part name |
[in] | text | The text string |
References efl_data_scope_get().
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.
[in] | part | The part name |
[in] | text | The text string |
true
on success, false
otherwiseReferences efl_data_scope_get(), and EINA_FALSE.
Referenced by elm_layout_content_swallow_list_get().
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().
[in] | part | The part name |
[in] | text_to_escape | The text string |
true
on success, false
otherwise References efl_data_scope_get(), and EINA_FALSE.
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().
[in] | part | The part name |
References efl_data_scope_get().
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.
[in] | part | The part name |
[in] | text | The text string |
References efl_data_scope_get().
Referenced by elm_entry_entry_get().
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.
[in] | part | The part name |
[in] | autocapital_type | The type of autocapitalization |
Referenced by elm_entry_bounce_get().
Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get | ( | const Evas_Object * | obj, |
const char * | part | ||
) |
Retrieves the autocapitalization type.
[in] | part | The part name |
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.
[in] | part | The part name |
[in] | prediction | If true , the prediction feature is allowed. |
Referenced by elm_entry_bounce_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.
[in] | part | The part name |
true
, the prediction feature is allowed.References EINA_FALSE.
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
[in] | part | The part name |
Referenced by elm_entry_bounce_get().
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
[in] | part | The part name |
Referenced by elm_entry_bounce_get().
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.
[in] | part | The part name |
[in] | input_hints | Input hints |
Referenced by elm_entry_bounce_get().
Edje_Input_Hints edje_object_part_text_input_hint_get | ( | const Evas_Object * | obj, |
const char * | part | ||
) |
Gets the value of input hint.
[in] | part | The part name |
References EINA_FALSE.
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.
[in] | part | The part name |
Referenced by elm_entry_bounce_get().
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.
[in] | part | The part name |
Referenced by elm_entry_bounce_get().
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.
[in] | part | The part name |
[in] | data | The specific data to be set to the input panel. |
[in] | len | The length of data, in bytes, to send to the input panel |
Referenced by elm_entry_bounce_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.
[in] | part | The part name |
[in] | data | The specific data to be set to the input panel. |
[out] | len | The length of data, in bytes, to send to the input panel |
Referenced by elm_entry_bounce_get().
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.
[in] | part | The part name |
[in] | layout | Layout type of the input panel |
Referenced by elm_entry_bounce_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
[in] | part | The part name |
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.
[in] | part | The part name |
[in] | lang | The language to be set to the input panel. |
Referenced by elm_entry_bounce_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.
[in] | part | The part name |
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.
[in] | part | The part name |
[in] | variation | Layout variation type |
Referenced by elm_entry_bounce_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
[in] | part | The part name |
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.
[in] | part | The part name |
[in] | enabled | If true , the input panel is appeared when entry is clicked or has a focus |
Referenced by elm_entry_bounce_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
[in] | part | The part name |
true
, the input panel is appeared when entry is clicked or has a focusReferences EINA_FALSE.
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.
[in] | part | The part name |
[in] | disabled | The state |
Referenced by elm_entry_bounce_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.
[in] | part | The part name |
References EINA_FALSE.
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
[in] | part | The part name |
[in] | return_key_type | The type of "return" key on the input panel |
Referenced by elm_entry_bounce_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
[in] | part | The part name |
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.
[in] | part | The part name |
[in] | ondemand | If true , the input panel will be shown in case of only Mouse up event. (Focus event will be ignored.) |
Referenced by elm_entry_bounce_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.
[in] | part | The part name |
true
, the input panel will be shown in case of only Mouse up event. (Focus event will be ignored.)References EINA_FALSE.
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.
[in] | part | The part name |
[in] | prediction_hint | Prediction hint |
References DBG, EINA_FALSE, EINA_TRUE, and evas_object_data_get().
Referenced by elm_entry_bounce_get().
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.
[in] | part | The part name |
[in] | key | The key of the prediction hint |
[in] | value | The data to replace |
true
on success, false
otherwiseReferences EINA_FALSE.
Referenced by elm_entry_bounce_get().
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.
[in] | part | The part name |
[in] | key | The key of the prediction hint |
true
on success, false
otherwiseReferences EINA_FALSE, and EINA_TRUE.
Referenced by elm_entry_bounce_get().
void edje_object_part_text_select_begin | ( | const Evas_Object * | obj, |
const char * | part | ||
) |
Starts selecting at current cursor position.
[in] | part | The part name |
Referenced by elm_entry_entry_get().
void edje_object_part_text_select_abort | ( | const Evas_Object * | obj, |
const char * | part | ||
) |
Aborts any selection action on a part.
[in] | part | The part name |
void edje_object_part_text_select_extend | ( | const Evas_Object * | obj, |
const char * | part | ||
) |
Extends the current selection to the current cursor position.
[in] | part | The part name |
References EINA_FALSE.
Referenced by elm_entry_entry_get().
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.
[in] | part | The part name |
Referenced by elm_entry_entry_get().
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.
[in] | part | The part name |
Referenced by elm_entry_entry_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()
[in] | part | The part name |
Referenced by elm_entry_entry_get().
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.
[in] | play | The play state, true by default. |
Referenced by elm_image_animated_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.
true
by default. Referenced by elm_image_animated_get().
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.
[in] | scale | The transition duration factor. |
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.
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; } }
min
EDC property was not declared for this object, this call will return 0x0.See also edje_object_size_max_get.
[out] | minw | Pointer to a variable where to store the minimum width |
[out] | minh | Pointer to a variable where to store the minimum height |
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; } }
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.See also edje_object_size_min_get.
[out] | maxw | The maximum width |
[out] | maxh | The maximum height |
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.
[in] | part | The part's name to check for existence in obj's group |
true
if the Edje part exists in obj's group, or false
otherwise (and on errors) 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).
[in] | obj | The object. |
[in] | func | The function to call (or null to disable) to get item objects |
[in] | data | The data pointer to pass to the func callback |
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.
[in] | color_class | Color class description |
null
if not found