Main Page
Object Hierarchy
Data Structures
Related Pages
etk_entry.c File Reference
Detailed Description
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.