lib/ewl_entry.h File Reference
#include "ewl_text.h"
#include "ewl_view.h"
Include dependency graph for ewl_entry.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
struct | Ewl_Entry |
Inherits from Ewl_Text and extends to allow editing of the text. More... | |
struct | Ewl_Entry_Cursor |
Inherit from Ewl_Widget and extend for the Entry cursor. More... | |
Defines | |
#define | EWL_ENTRY(entry) ((Ewl_Entry *) entry) |
#define | EWL_ENTRY_CURSOR(cursor) ((Ewl_Entry_Cursor *) cursor) |
#define | EWL_ENTRY_CURSOR_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_ENTRY_CURSOR_TYPE)) |
#define | EWL_ENTRY_CURSOR_TYPE "cursor" |
#define | EWL_ENTRY_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_ENTRY_TYPE)) |
#define | EWL_ENTRY_TYPE "entry" |
Typedefs | |
typedef struct Ewl_Entry | Ewl_Entry |
typedef struct Ewl_Entry_Cursor | Ewl_Entry_Cursor |
Functions | |
void | ewl_entry_cb_configure (Ewl_Widget *w, void *ev, void *data) |
void | ewl_entry_cb_disable (Ewl_Widget *w, void *ev, void *data) |
void | ewl_entry_cb_dnd_data (Ewl_Widget *w, void *ev, void *data) |
void | ewl_entry_cb_dnd_position (Ewl_Widget *w, void *ev, void *data) |
void | ewl_entry_cb_enable (Ewl_Widget *w, void *ev, void *data) |
void | ewl_entry_cb_focus_in (Ewl_Widget *w, void *ev, void *data) |
void | ewl_entry_cb_focus_out (Ewl_Widget *w, void *ev, void *data) |
void | ewl_entry_cb_key_down (Ewl_Widget *w, void *ev, void *data) |
void | ewl_entry_cb_mouse_down (Ewl_Widget *w, void *ev, void *data) |
void | ewl_entry_cb_mouse_move (Ewl_Widget *w, void *ev, void *data) |
void | ewl_entry_cb_mouse_up (Ewl_Widget *w, void *ev, void *data) |
int | ewl_entry_cursor_init (Ewl_Entry_Cursor *c, Ewl_Entry *parent) |
Initializes an Ewl_Entry_Cursor to default values. | |
void | ewl_entry_cursor_move_down (Ewl_Entry *e) |
Moves the cursor down one line from its current position. | |
void | ewl_entry_cursor_move_left (Ewl_Entry *e) |
Moves the cursor to the left of it's current position. | |
void | ewl_entry_cursor_move_right (Ewl_Entry *e) |
Moves the cursor to the right of its current position. | |
void | ewl_entry_cursor_move_up (Ewl_Entry *e) |
Moves the cursor up one line from its current position. | |
Ewl_Widget * | ewl_entry_cursor_new (Ewl_Entry *parent) |
Creates and initializes a new Ewl_Entry_Cursor widget. | |
unsigned int | ewl_entry_cursor_position_get (Ewl_Entry_Cursor *c) |
Retrieves the current position of the Ewl_Entry_Cursor. | |
void | ewl_entry_cursor_position_set (Ewl_Entry_Cursor *c, unsigned int pos) |
Set the current cursor position. | |
void | ewl_entry_delete_left (Ewl_Entry *e) |
Deletes the character to the left of the cursor. | |
void | ewl_entry_delete_right (Ewl_Entry *e) |
Deletes the character to the right of the cursor. | |
unsigned int | ewl_entry_editable_get (Ewl_Entry *e) |
Retrieve if the entry is editable or not. | |
void | ewl_entry_editable_set (Ewl_Entry *e, unsigned int editable) |
Set if the entry is editable or not. | |
int | ewl_entry_init (Ewl_Entry *e) |
Initializes an Ewl_Entry widget to default values. | |
unsigned int | ewl_entry_multiline_get (Ewl_Entry *e) |
Retrieve if the entry is multiline or not. | |
void | ewl_entry_multiline_set (Ewl_Entry *e, unsigned int multiline) |
Set if the entry is multiline or not. | |
Ewl_Widget * | ewl_entry_new (void) |
Create and return a new Ewl_Entry widget. | |
unsigned int | ewl_entry_selection_clear (Ewl_Entry *e) |
Clear the current selection in the entry. | |
Ewl_View * | ewl_entry_view_get (void) |
Creates and returns a view to be used by Ewl_Entry widgets. | |
Ewl_Widget * | ewl_password_new (void) |
Allocate and initialize a new password widget. |