lib/ewl_combo.c File Reference
#include "ewl_base.h"
#include "ewl_combo.h"
#include "ewl_button.h"
#include "ewl_cell.h"
#include "ewl_context_menu.h"
#include "ewl_scrollpane.h"
#include "ewl_menu.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"

Functions | |
| void | ewl_combo_cb_decrement_clicked (Ewl_Widget *w __UNUSED__, void *ev __UNUSED__, void *data) |
| void | ewl_combo_cb_popup_hide (Ewl_Widget *w __UNUSED__, void *ev __UNUSED__, void *data) |
| void | ewl_combo_cell_cb_clicked (Ewl_Widget *w, void *ev __UNUSED__, void *data __UNUSED__) |
| Ewl_Combo * | ewl_combo_cell_combo_get (Ewl_Combo_Cell *cell) |
| void | ewl_combo_cell_combo_set (Ewl_Combo_Cell *cell, Ewl_Combo *combo) |
| void * | ewl_combo_cell_data_get (Ewl_Combo_Cell *cell) |
| void | ewl_combo_cell_data_set (Ewl_Combo_Cell *cell, void *mvc_data) |
| int | ewl_combo_cell_init (Ewl_Combo_Cell *cell) |
| Initializes a combo cell to default values. | |
| const Ewl_Model * | ewl_combo_cell_model_get (Ewl_Combo_Cell *cell) |
| void | ewl_combo_cell_model_set (Ewl_Combo_Cell *cell, 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) |
| Ewl_Widget * | ewl_combo_submenu_new (Ewl_Combo *c, const Ewl_Model *model, const Ewl_View *view, void *mvc_data) |
Function Documentation
| void ewl_combo_cb_decrement_clicked | ( | Ewl_Widget *w | __UNUSED__, | |
| void *ev | __UNUSED__, | |||
| void * | data | |||
| ) |
References Ewl_Combo::button, DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_COMBO_TYPE, EWL_CONTAINER, ewl_container_reset(), EWL_MVC, ewl_mvc_data_get(), ewl_mvc_dirty_get(), ewl_mvc_dirty_set(), ewl_mvc_model_get(), ewl_mvc_view_get(), EWL_STATE_PERSISTENT, EWL_WIDGET, ewl_widget_focus_send(), ewl_widget_show(), ewl_widget_state_set(), EWL_WINDOW, ewl_window_raise(), and Ewl_Combo::popup.
Referenced by ewl_combo_init().
| void ewl_combo_cb_popup_hide | ( | Ewl_Widget *w | __UNUSED__, | |
| void *ev | __UNUSED__, | |||
| void * | data | |||
| ) |
References Ewl_Combo::button, DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_COMBO, EWL_COMBO_TYPE, EWL_STATE_PERSISTENT, EWL_WIDGET, and ewl_widget_state_set().
Referenced by ewl_combo_init().
| void ewl_combo_cell_cb_clicked | ( | Ewl_Widget * | w, | |
| void *ev | __UNUSED__, | |||
| void *data | __UNUSED__ | |||
| ) |
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().
| Ewl_Widget * ewl_combo_submenu_new | ( | Ewl_Combo * | c, | |
| const Ewl_Model * | model, | |||
| const Ewl_View * | view, | |||
| void * | mvc_data | |||
| ) |
References DCHECK_PARAM_PTR_RET, DCHECK_TYPE_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, EWL_BUTTON, ewl_button_image_set(), ewl_button_label_set(), EWL_COMBO_TYPE, EWL_CONTAINER, ewl_container_redirect_set(), EWL_FLAG_FILL_HFILL, EWL_MENU, ewl_menu_new(), EWL_OBJECT, ewl_object_fill_policy_set(), EWL_POPUP_TYPE, and ewl_widget_appearance_set().