Data Structures | |
struct | Ewl_Entry |
Inherits from the Ewl_Container and extends it to provide text and a cursor for editing the contents of the text. More... | |
struct | Ewl_Entry |
Inherits from the Ewl_Container and extends it to provide text and a cursor for editing the contents of the text. More... | |
Defines | |
#define | EWL_ENTRY(entry) ((Ewl_Entry *) entry) |
Typecasts a pointer to an Ewl_Entry pointer. | |
Typedefs | |
typedef Ewl_Entry | Ewl_Entry |
Inherits from the Ewl_Widget and provides single line editable text. | |
Enumerations | |
enum | Ewl_Entry_Op_Type |
Provides a series of operations that can be performed on the entry. | |
Functions | |
Ewl_Widget * | ewl_entry_new (char *text) |
Allocate and initialize a new entry widget. | |
Ewl_Widget * | ewl_entry_multiline_new (char *text) |
Allocate and initialize a new multiline input entry widget. | |
int | ewl_entry_init (Ewl_Entry *e, char *text) |
Initialize an entry widget to default values. | |
void | ewl_entry_text_set (Ewl_Entry *e, char *t) |
Set the text for an entry widget. | |
char * | ewl_entry_text_get (Ewl_Entry *e) |
Get the text from an entry widget. | |
void | ewl_entry_editable_set (Ewl_Entry *e, unsigned int edit) |
Change the ability to edit the text in an entry. | |
void | ewl_entry_multiline_set (Ewl_Entry *e, int m) |
Set multiline for an entry widget. | |
int | ewl_entry_multiline_get (Ewl_Entry *e) |
Get the text from an entry widget. | |
void | ewl_entry_text_prepend (Ewl_Entry *e, char *text) |
Append text to a entry widget. | |
void | ewl_entry_text_append (Ewl_Entry *e, char *text) |
Append text to a entry widget. | |
void | ewl_entry_text_insert (Ewl_Entry *e, char *text, int index) |
Append text to a entry widget. | |
void | ewl_entry_text_at_cursor_insert (Ewl_Entry *e, char *text) |
Inserts text at cursor position. | |
int | ewl_entry_length_get (Ewl_Entry *e) |
Retrieve the length of the text displayed by the entry widget. | |
void | ewl_entry_font_set (Ewl_Entry *e, char *font, int size) |
Changes the currently applied font of the text to specified values. | |
char * | ewl_entry_font_get (Ewl_Entry *e) |
Retrieve the name of the currently used font. | |
int | ewl_entry_font_size_get (Ewl_Entry *e) |
Retrieve the size of the currently used font. | |
void | ewl_entry_style_set (Ewl_Entry *e, char *style) |
Changes the currently applied style of the text to specified values. | |
char * | ewl_entry_style_get (Ewl_Entry *e) |
Retrieves the currently used text style from a text widget. | |
void | ewl_entry_color_set (Ewl_Entry *e, int r, int g, int b, int a) |
Changes the currently applied color of the text to specified values. | |
void | ewl_entry_align_set (Ewl_Entry *e, unsigned int align) |
Changes the currently applied alignment of the text to specified value. | |
unsigned int | ewl_entry_align_get (Ewl_Entry *e) |
Retrieves the currently used text alignment from an entry widget. | |
void | ewl_entry_index_geometry_map (Ewl_Entry *e, int index, int *xx, int *yy, int *ww, int *hh) |
Maps a character index to a set of coordinates and sizes. | |
int | ewl_entry_coord_index_map (Ewl_Entry *e, int x, int y) |
Finds the index of the character under the specified coordinates. |
|
Retrieves the currently used text alignment from an entry widget.
|
|
Changes the currently applied alignment of the text to specified value.
|
|
Changes the currently applied color of the text to specified values.
|
|
Finds the index of the character under the specified coordinates.
|
|
Change the ability to edit the text in an entry.
|
|
Retrieve the name of the currently used font.
|
|
Changes the currently applied font of the text to specified values.
|
|
Retrieve the size of the currently used font.
|
|
Maps a character index to a set of coordinates and sizes.
|
|
Initialize an entry widget to default values.
|
|
Retrieve the length of the text displayed by the entry widget.
|
|
Get the text from an entry widget.
|
|
Allocate and initialize a new multiline input entry widget.
|
|
Set multiline for an entry widget.
|
|
Allocate and initialize a new entry widget.
|
|
Retrieves the currently used text style from a text widget.
|
|
Changes the currently applied style of the text to specified values.
|
|
Append text to a entry widget.
|
|
Inserts text at cursor position.
|
|
Get the text from an entry widget.
|
|
Append text to a entry widget.
|
|
Append text to a entry widget.
|
|
Set the text for an entry widget.
|