You will almost never have to use directly an editable object, except if you are implementing a new widget that needs an editable single-line.
|
Functions |
Evas_Object * | etk_editable_add (Evas *evas) |
| Creates a new editable object.
|
void | etk_editable_theme_set (Evas_Object *editable, const char *file, const char *group) |
| Sets the theme of the editable object. If this function is not called, the editable object won't be visible.
|
void | etk_editable_align_set (Evas_Object *editable, float align) |
| Sets the alignment of the text inside the editable object.
|
float | etk_editable_align_get (Evas_Object *editable) |
| Gets the alignment of the text inside the editable object.
|
void | etk_editable_password_mode_set (Evas_Object *editable, Etk_Bool password_mode) |
| Sets whether or not the editable object is in password mode. In password mode, the editable object displays '*' instead of the characters.
|
Etk_Bool | etk_editable_password_mode_get (Evas_Object *editable) |
| Gets whether or not the editable object is in password mode.
|
void | etk_editable_disabled_set (Evas_Object *editable, Etk_Bool disabled) |
| Sets whether or not the editable object is disabled. This will just emit the "etk,state,disabled" or "etk,state,enabled" signal to the text-object of the editable.
|
Etk_Bool | etk_editable_disabled_get (Evas_Object *editable) |
| Gets whether or not the editable object is disabled.
|
void | etk_editable_text_set (Evas_Object *editable, const char *text) |
| Sets the text of the editable object.
|
const char * | etk_editable_text_get (Evas_Object *editable) |
| Gets the entire text of the editable object.
|
char * | etk_editable_text_range_get (Evas_Object *editable, int start, int end) |
| Gets a range of the text of the editable object, from position start to position end.
|
int | etk_editable_text_length_get (Evas_Object *editable) |
| Gets the unicode length of the text of the editable object. The unicode length is not always the length returned by strlen() since a UTF-8 char can take several bytes.
|
Etk_Bool | etk_editable_insert (Evas_Object *editable, int pos, const char *text) |
| Inserts some text at the given position in the editable object.
|
Etk_Bool | etk_editable_delete (Evas_Object *editable, int start, int end) |
| Deletes the text of the editable object, between position start and position end.
|
void | etk_editable_cursor_pos_set (Evas_Object *editable, int pos) |
| Moves the cursor of the editable object to the given position.
|
int | etk_editable_cursor_pos_get (Evas_Object *editable) |
| Gets the position of the cursor of the editable object.
|
void | etk_editable_cursor_move_to_start (Evas_Object *editable) |
| Moves the cursor to the start of the editable object.
|
void | etk_editable_cursor_move_to_end (Evas_Object *editable) |
| Moves the cursor to the end of the editable object.
|
void | etk_editable_cursor_move_left (Evas_Object *editable) |
| Moves the cursor backward by one character offset.
|
void | etk_editable_cursor_move_right (Evas_Object *editable) |
| Moves the cursor forward by one character offset.
|
void | etk_editable_cursor_show (Evas_Object *editable) |
| Shows the cursor of the editable object.
|
void | etk_editable_cursor_hide (Evas_Object *editable) |
| Hides the cursor of the editable object.
|
void | etk_editable_selection_pos_set (Evas_Object *editable, int pos) |
| Moves the selection bound of the editable object to the given position.
|
int | etk_editable_selection_pos_get (Evas_Object *editable) |
| Gets the position of the selection bound of the editable object.
|
void | etk_editable_selection_move_to_start (Evas_Object *editable) |
| Moves the selection bound to the start of the editable object.
|
void | etk_editable_selection_move_to_end (Evas_Object *editable) |
| Moves the selection bound to the end of the editable object.
|
void | etk_editable_selection_move_left (Evas_Object *editable) |
| Moves the selection bound backward by one character offset.
|
void | etk_editable_selection_move_right (Evas_Object *editable) |
| Moves the selection bound forward by one character offset.
|
void | etk_editable_select_all (Evas_Object *editable) |
| Selects all the text of the editable object. The selection bound will be moved to the start of the editable object and the cursor will be moved to the end.
|
void | etk_editable_unselect_all (Evas_Object *editable) |
| Unselects all the text of the editable object. The selection bound will be moved to the cursor position.
|
void | etk_editable_selection_show (Evas_Object *editable) |
| Shows the selection of the editable object.
|
void | etk_editable_selection_hide (Evas_Object *editable) |
| Hides the selection of the editable object.
|
int | etk_editable_pos_get_from_coords (Evas_Object *editable, int x, int y) |
| Gets the cursor position at the coords ( x, y ). It's used to know where to place the cursor or the selection bound on mouse evevents.
|
void | etk_editable_char_size_get (Evas_Object *editable, int *w, int *h) |
| A utility function to get the average size of a character written inside the editable object.
|