lib/ewl_combo.h File Reference
#include "ewl_mvc.h"
#include "ewl_cell.h"
Include dependency graph for ewl_combo.h:

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

Go to the source code of this file.
Data Structures | |
struct | Ewl_Combo |
Inherits from the Ewl_MVC widget to provide a combo widget. More... | |
struct | Ewl_Combo_Cell |
Inherits from Ewl_Cell and is used internally for the combo box. More... | |
Defines | |
#define | EWL_COMBO(combo) ((Ewl_Combo *) combo) |
#define | EWL_COMBO_CELL(c) ((Ewl_Combo_Cell *)c) |
#define | EWL_COMBO_CELL_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_COMBO_CELL_TYPE)) |
#define | EWL_COMBO_CELL_TYPE "combo_cell" |
#define | EWL_COMBO_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_COMBO_TYPE)) |
#define | EWL_COMBO_TYPE "combo" |
Typedefs | |
typedef struct Ewl_Combo | Ewl_Combo |
typedef struct Ewl_Combo_Cell | Ewl_Combo_Cell |
Functions | |
void | ewl_combo_cb_decrement_clicked (Ewl_Widget *w, void *ev, void *data) |
void | ewl_combo_cb_popup_hide (Ewl_Widget *w, void *ev, void *data) |
void | ewl_combo_cell_cb_clicked (Ewl_Widget *w, void *ev, void *data) |
Ewl_Combo * | ewl_combo_cell_combo_get (Ewl_Combo_Cell *c) |
void | ewl_combo_cell_combo_set (Ewl_Combo_Cell *c, Ewl_Combo *combo) |
void * | ewl_combo_cell_data_get (Ewl_Combo_Cell *c) |
void | ewl_combo_cell_data_set (Ewl_Combo_Cell *c, void *mvc_data) |
int | ewl_combo_cell_init (Ewl_Combo_Cell *c) |
Initializes a combo cell to default values. | |
const Ewl_Model * | ewl_combo_cell_model_get (Ewl_Combo_Cell *c) |
void | ewl_combo_cell_model_set (Ewl_Combo_Cell *c, const Ewl_Model *model) |
Ewl_Widget * | ewl_combo_cell_new (void) |
Create a new combo cell. | |
unsigned int | ewl_combo_editable_get (Ewl_Combo *combo) |
Retrieves the editable status of the combo. | |
void | ewl_combo_editable_set (Ewl_Combo *combo, unsigned int editable) |
This will set if the displayed data in the combo is editable. | |
int | ewl_combo_init (Ewl_Combo *combo) |
Initializes a combo to default values. | |
Ewl_Widget * | ewl_combo_new (void) |
Create a new combo box. | |
void | ewl_combo_popup_container_set (Ewl_Combo *combo, Ewl_Container *c) |
unsigned int | ewl_combo_scrollable_get (Ewl_Combo *combo) |
Retrieves the scrollable status of the combo. | |
void | ewl_combo_scrollable_set (Ewl_Combo *combo, unsigned int scrollable) |
Function Documentation
void ewl_combo_cell_cb_clicked | ( | Ewl_Widget * | w, | |
void * | ev, | |||
void * | data | |||
) |
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_COMBO_CELL, ewl_combo_cell_combo_get(), ewl_combo_cell_data_get(), ewl_combo_cell_model_get(), EWL_COMBO_CELL_TYPE, EWL_CONTAINER, ewl_container_child_index_get(), EWL_MVC, ewl_mvc_selected_set(), and Ewl_Widget::parent.
Referenced by ewl_combo_cell_init().