|
Data Structures |
struct | Etk_Entry |
| [Widget] A widget that allows the user to edit a single-line text More...
|
Defines |
#define | ETK_ENTRY_TYPE (etk_entry_type_get()) |
#define | ETK_ENTRY(obj) (ETK_OBJECT_CAST((obj), ETK_ENTRY_TYPE, Etk_Entry)) |
#define | ETK_IS_ENTRY(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_ENTRY_TYPE)) |
Enumerations |
enum | Etk_Entry_Image_Position {
ETK_ENTRY_IMAGE_PRIMARY,
ETK_ENTRY_IMAGE_SECONDARY
} |
| The position of the image in the entry. More...
|
Functions |
Etk_Widget * | etk_entry_new (void) |
| Creates a new entry.
|
void | etk_entry_text_set (Etk_Entry *entry, const char *text) |
| Sets the text of the entry.
|
const char * | etk_entry_text_get (Etk_Entry *entry) |
| Gets the text of the entry.
|
void | etk_entry_text_limit_set (Etk_Entry *entry, size_t limit) |
| Set the text limit of the entry.
|
size_t | etk_entry_text_limit_get (Etk_Entry *entry) |
| Get the text limit of the entry.
|
void | etk_entry_clear (Etk_Entry *entry) |
| Clears the text of the entry.
|
void | etk_entry_image_set (Etk_Entry *entry, Etk_Entry_Image_Position position, Etk_Image *image) |
| Sets an image inside the entry.
|
Etk_Image * | etk_entry_image_get (Etk_Entry *entry, Etk_Entry_Image_Position position) |
| Gets the image of the entry.
|
void | etk_entry_clear_button_add (Etk_Entry *entry) |
| Adds a "Clear" button on the right of the entry.
|
void | etk_entry_image_highlight_set (Etk_Entry *entry, Etk_Entry_Image_Position position, Etk_Bool highlight) |
| Sets whether the image will be highlighted on mouse-over.
|
void | etk_entry_password_mode_set (Etk_Entry *entry, Etk_Bool password_mode) |
| Sets whether or not the entry is in password mode.
|
Etk_Bool | etk_entry_password_mode_get (Etk_Entry *entry) |
| Gets whether or not the entry is in password mode.
|