## ETreeTableAdapter

ETreeTableAdapter

## Synopsis

    struct              ETreeTableAdapter;
    ETableModel *       e_tree_table_adapter_new            (ETreeModel *source_model,
                                                             ETableSortInfo *sort_info,
                                                             ETableHeader *header);
    ETableHeader *      e_tree_table_adapter_get_header     (ETreeTableAdapter *etta);
    void                e_tree_table_adapter_set_sort_info  (ETreeTableAdapter *etta,
                                                             ETableSortInfo *sort_info);
    ETableSortInfo *    e_tree_table_adapter_get_sort_info  (ETreeTableAdapter *etta);
    ETreeModel *        e_tree_table_adapter_get_source_model
                                                            (ETreeTableAdapter *etta);
    ETreePath           e_tree_table_adapter_node_get_next  (ETreeTableAdapter *etta,
                                                             ETreePath path);
    gboolean            e_tree_table_adapter_node_is_expanded
                                                            (ETreeTableAdapter *etta,
                                                             ETreePath path);
    void                e_tree_table_adapter_node_set_expanded
                                                            (ETreeTableAdapter *etta,
                                                             ETreePath path,
                                                             gboolean expanded);
    void                e_tree_table_adapter_node_set_expanded_recurse
                                                            (ETreeTableAdapter *etta,
                                                             ETreePath path,
                                                             gboolean expanded);
    void                e_tree_table_adapter_force_expanded_state
                                                            (ETreeTableAdapter *etta,
                                                             gint state);
    void                e_tree_table_adapter_root_node_set_visible
                                                            (ETreeTableAdapter *etta,
                                                             gboolean visible);
    ETreePath           e_tree_table_adapter_node_at_row    (ETreeTableAdapter *etta,
                                                             gint row);
    gint                e_tree_table_adapter_row_of_node    (ETreeTableAdapter *etta,
                                                             ETreePath path);
    gboolean            e_tree_table_adapter_root_node_is_visible
                                                            (ETreeTableAdapter *etta);
    void                e_tree_table_adapter_show_node      (ETreeTableAdapter *etta,
                                                             ETreePath path);
    void                e_tree_table_adapter_save_expanded_state
                                                            (ETreeTableAdapter *etta,
                                                             const gchar *filename);
    void                e_tree_table_adapter_load_expanded_state
                                                            (ETreeTableAdapter *etta,
                                                             const gchar *filename);
    xmlDoc *            e_tree_table_adapter_save_expanded_state_xml
                                                            (ETreeTableAdapter *etta);
    void                e_tree_table_adapter_load_expanded_state_xml
                                                            (ETreeTableAdapter *etta,
                                                             xmlDoc *doc);

## Object Hierarchy

      GObject
       +----ETreeTableAdapter

## Implemented Interfaces

ETreeTableAdapter implements ETableModel.

## Properties

      "header"                   ETableHeader*         : Read / Write / Construct Only
      "sort-info"                ETableSortInfo*       : Read / Write / Construct
      "source-model"             ETreeModel*           : Read / Write / Construct Only

## Signals

      "sorting-changed"                                : Run Last

## Description

## Details

### struct ETreeTableAdapter

    struct ETreeTableAdapter;

### e_tree_table_adapter_new ()

    ETableModel *       e_tree_table_adapter_new            (ETreeModel *source_model,
                                                             ETableSortInfo *sort_info,
                                                             ETableHeader *header);

### e_tree_table_adapter_get_header ()

    ETableHeader *      e_tree_table_adapter_get_header     (ETreeTableAdapter *etta);

### e_tree_table_adapter_set_sort_info ()

    void                e_tree_table_adapter_set_sort_info  (ETreeTableAdapter *etta,
                                                             ETableSortInfo *sort_info);

### e_tree_table_adapter_get_sort_info ()

    ETableSortInfo *    e_tree_table_adapter_get_sort_info  (ETreeTableAdapter *etta);

### e_tree_table_adapter_get_source_model ()

    ETreeModel *        e_tree_table_adapter_get_source_model
                                                            (ETreeTableAdapter *etta);

### e_tree_table_adapter_node_get_next ()

    ETreePath           e_tree_table_adapter_node_get_next  (ETreeTableAdapter *etta,
                                                             ETreePath path);

### e_tree_table_adapter_node_is_expanded ()

    gboolean            e_tree_table_adapter_node_is_expanded
                                                            (ETreeTableAdapter *etta,
                                                             ETreePath path);

### e_tree_table_adapter_node_set_expanded ()

    void                e_tree_table_adapter_node_set_expanded
                                                            (ETreeTableAdapter *etta,
                                                             ETreePath path,
                                                             gboolean expanded);

### e_tree_table_adapter_node_set_expanded_recurse ()

    void                e_tree_table_adapter_node_set_expanded_recurse
                                                            (ETreeTableAdapter *etta,
                                                             ETreePath path,
                                                             gboolean expanded);

### e_tree_table_adapter_force_expanded_state ()

    void                e_tree_table_adapter_force_expanded_state
                                                            (ETreeTableAdapter *etta,
                                                             gint state);

### e_tree_table_adapter_root_node_set_visible ()

    void                e_tree_table_adapter_root_node_set_visible
                                                            (ETreeTableAdapter *etta,
                                                             gboolean visible);

### e_tree_table_adapter_node_at_row ()

    ETreePath           e_tree_table_adapter_node_at_row    (ETreeTableAdapter *etta,
                                                             gint row);

### e_tree_table_adapter_row_of_node ()

    gint                e_tree_table_adapter_row_of_node    (ETreeTableAdapter *etta,
                                                             ETreePath path);

### e_tree_table_adapter_root_node_is_visible ()

    gboolean            e_tree_table_adapter_root_node_is_visible
                                                            (ETreeTableAdapter *etta);

### e_tree_table_adapter_show_node ()

    void                e_tree_table_adapter_show_node      (ETreeTableAdapter *etta,
                                                             ETreePath path);

### e_tree_table_adapter_save_expanded_state ()

    void                e_tree_table_adapter_save_expanded_state
                                                            (ETreeTableAdapter *etta,
                                                             const gchar *filename);

### e_tree_table_adapter_load_expanded_state ()

    void                e_tree_table_adapter_load_expanded_state
                                                            (ETreeTableAdapter *etta,
                                                             const gchar *filename);

### e_tree_table_adapter_save_expanded_state_xml ()

    xmlDoc *            e_tree_table_adapter_save_expanded_state_xml
                                                            (ETreeTableAdapter *etta);

### e_tree_table_adapter_load_expanded_state_xml ()

    void                e_tree_table_adapter_load_expanded_state_xml
                                                            (ETreeTableAdapter *etta,
                                                             xmlDoc *doc);

## Property Details

### The `"header"` property

      "header"                   ETableHeader*         : Read / Write / Construct Only

### The `"sort-info"` property

      "sort-info"                ETableSortInfo*       : Read / Write / Construct

### The `"source-model"` property

      "source-model"             ETreeModel*           : Read / Write / Construct Only

## Signal Details

### The `"sorting-changed"` signal

    gboolean            user_function                      (ETreeTableAdapter *etreetableadapter,
                                                            gpointer           user_data)              : Run Last