## ETableMemoryCallbacks

ETableMemoryCallbacks

## Synopsis

    struct              ETableMemoryCallbacks;
    ETableModel *       e_table_memory_callbacks_new        (ETableMemoryCallbacksColumnCountFn col_count,
                                                             ETableMemoryCallbacksValueAtFn value_at,
                                                             ETableMemoryCallbacksSetValueAtFn set_value_at,
                                                             ETableMemoryCallbacksIsCellEditableFn is_cell_editable,
                                                             ETableMemoryCallbacksDuplicateValueFn duplicate_value,
                                                             ETableMemoryCallbacksFreeValueFn free_value,
                                                             ETableMemoryCallbacksInitializeValueFn initialize_value,
                                                             ETableMemoryCallbacksValueIsEmptyFn value_is_empty,
                                                             ETableMemoryCallbacksValueToStringFn value_to_string,
                                                             gpointer data);

## Description

## Details

### struct ETableMemoryCallbacks

    struct ETableMemoryCallbacks {
    	ETableMemory parent;

    	ETableMemoryCallbacksColumnCountFn col_count;
    	ETableMemoryCallbacksAppendRowFn append_row;

    	ETableMemoryCallbacksValueAtFn value_at;
    	ETableMemoryCallbacksSetValueAtFn set_value_at;
    	ETableMemoryCallbacksIsCellEditableFn is_cell_editable;

    	ETableMemoryCallbacksDuplicateValueFn duplicate_value;
    	ETableMemoryCallbacksFreeValueFn free_value;
    	ETableMemoryCallbacksInitializeValueFn initialize_value;
    	ETableMemoryCallbacksValueIsEmptyFn value_is_empty;
    	ETableMemoryCallbacksValueToStringFn value_to_string;
    	gpointer data;
    };

### e_table_memory_callbacks_new ()

    ETableModel *       e_table_memory_callbacks_new        (ETableMemoryCallbacksColumnCountFn col_count,
                                                             ETableMemoryCallbacksValueAtFn value_at,
                                                             ETableMemoryCallbacksSetValueAtFn set_value_at,
                                                             ETableMemoryCallbacksIsCellEditableFn is_cell_editable,
                                                             ETableMemoryCallbacksDuplicateValueFn duplicate_value,
                                                             ETableMemoryCallbacksFreeValueFn free_value,
                                                             ETableMemoryCallbacksInitializeValueFn initialize_value,
                                                             ETableMemoryCallbacksValueIsEmptyFn value_is_empty,
                                                             ETableMemoryCallbacksValueToStringFn value_to_string,
                                                             gpointer data);

This initializes a new ETableMemoryCallbacksModel object. ETableMemoryCallbacksModel is an implementaiton of the abstract class ETableModel. The ETableMemoryCallbacksModel is designed to allow people to easily create ETableModels without having to create a new GType derived from ETableModel every time they need one.

Instead, ETableMemoryCallbacksModel uses a setup based in callback functions, every callback function signature mimics the signature of each ETableModel method and passes the extra `data` pointer to each one of the method to provide them with any context they might want to use.

`data` : | closure pointer.
Returns : | An ETableMemoryCallbacksModel object (which is also an ETableModel object).