lib/ewl_model.c File Reference
#include "ewl_base.h"
#include "ewl_model.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"
Include dependency graph for ewl_model.c:

Functions | |
unsigned int | ewl_model_cb_ecore_list_count (void *data) |
This will return the number of elements in the ecore_list. | |
void * | ewl_model_cb_ecore_list_fetch (void *data, unsigned int row, unsigned int col) |
This will return the row data element from the list. | |
Ewl_Model_Column_Sortable | ewl_model_column_sortable_get (const Ewl_Model *m) |
Retrieves the sortable callback on the model. | |
void | ewl_model_column_sortable_set (Ewl_Model *m, Ewl_Model_Column_Sortable sortable) |
Sets the sortable callback. | |
Ewl_Model_Data_Count | ewl_model_data_count_get (const Ewl_Model *m) |
Gets the count callback from the model. | |
void | ewl_model_data_count_set (Ewl_Model *m, Ewl_Model_Data_Count count) |
Sets the count callback into the model. | |
Ewl_Model_Data_Expandable | ewl_model_data_expandable_get (const Ewl_Model *m) |
Retrieves the expandable callback set on the model. | |
void | ewl_model_data_expandable_set (Ewl_Model *m, Ewl_Model_Data_Expandable exp) |
Sets the expandable callback on the given model. | |
Ewl_Model_Data_Fetch | ewl_model_data_fetch_get (const Ewl_Model *m) |
Gets the fetch callback from the model. | |
void | ewl_model_data_fetch_set (Ewl_Model *m, Ewl_Model_Data_Fetch get) |
Sets the fetch callback in the model. | |
Ewl_Model_Data_Free | ewl_model_data_free_get (const Ewl_Model *m) |
Get the data free pointer set on this model. | |
void | ewl_model_data_free_set (Ewl_Model *m, Ewl_Model_Data_Free data_free) |
Set the data free pointer on this view. | |
Ewl_Model_Data_Header_Fetch | ewl_model_data_header_fetch_get (const Ewl_Model *m) |
Retrieves the header fetch function. | |
void | ewl_model_data_header_fetch_set (Ewl_Model *m, Ewl_Model_Data_Header_Fetch get) |
Sets the fetch callback into the model. | |
Ewl_Model_Data_Highlight | ewl_model_data_highlight_get (const Ewl_Model *m) |
Retrieves the highlight model set in m. | |
void | ewl_model_data_highlight_set (Ewl_Model *m, Ewl_Model_Data_Highlight highlight) |
Sets the highlight callback into the model m. | |
Ewl_Model_Data_Sort | ewl_model_data_sort_get (const Ewl_Model *m) |
Gets the sort callback from the model. | |
void | ewl_model_data_sort_set (Ewl_Model *m, Ewl_Model_Data_Sort sort) |
Sets the sort callback into the model. | |
Ewl_Model_Data_Unref | ewl_model_data_unref_get (const Ewl_Model *m) |
Gets the unref callback from the model. | |
void | ewl_model_data_unref_set (Ewl_Model *m, Ewl_Model_Data_Unref unref) |
Sets the unref callback into the model. | |
Ewl_Model * | ewl_model_ecore_list_instance (void) |
Retrieves a model pre-initialized to work with an ecore list. This will setup the fetch and count methods for you. | |
Ewl_Model_Expansion_Data_Fetch | ewl_model_expansion_data_fetch_get (const Ewl_Model *m) |
Gets the expansion_data callback from the model. | |
void | ewl_model_expansion_data_fetch_set (Ewl_Model *m, Ewl_Model_Expansion_Data_Fetch get) |
Sets the subfetch callback into the model. | |
Ewl_Model_Expansion_Model_Fetch | ewl_model_expansion_model_fetch_get (const Ewl_Model *m) |
Retrieves the model expansion model fetch function. | |
void | ewl_model_expansion_model_fetch_set (Ewl_Model *m, Ewl_Model_Expansion_Model_Fetch f) |
Sets the model expansion model fetch callback to f. | |
int | ewl_model_init (Ewl_Model *model) |
Set the model to the default values. | |
Ewl_Model * | ewl_model_new (void) |
Creates a new Ewl_Model object. |