ETableColumnSelector: Evolution Utilities Reference Manual

## ETableColumnSelector ETableColumnSelector — Select columns for an ETable or ETree |

## Functions

GtkWidget * | e_table_column_selector_new ()
ETableState * | e_table_column_selector_get_state ()
void | e_table_column_selector_apply ()

## Types and Values

struct | ETableColumnSelector

## Includes

    #include <e-util/e-util.h>

## Description

ETableColumnSelector is a widget for choosing and ordering the available columns of an ETable or ETree.

## Functions

### e_table_column_selector_new ()

    GtkWidget *
    e_table_column_selector_new (ETableState *state);

Creates a new ETableColumnSelector, obtaining the initial column selection content from `state` .

Note that `state` remains unmodified until `e_table_column_selector_apply()` is called.

#### Parameters

state | an ETableState |

#### Returns

an ETableColumnSelector

### e_table_column_selector_get_state ()

    ETableState *
    e_table_column_selector_get_state (ETableColumnSelector *selector);

Returns the ETableState passed to `e_table_column_selector_new()`.

#### Parameters

selector | an ETableColumnSelector |

#### Returns

an ETableState

### e_table_column_selector_apply ()

    void
    e_table_column_selector_apply (ETableColumnSelector *selector);

Applies the user's column preferences to the `selector` 's “state” instance.

#### Parameters

selector | an ETableColumnSelector |

## Types and Values

### struct ETableColumnSelector

    struct ETableColumnSelector {
    	ETreeViewFrame parent;
    	ETableColumnSelectorPrivate *priv;
    };

Contains only private data that should be read and manipulated using the functions below.