## ETreeModelGenerator

ETreeModelGenerator

## Synopsis

    gint                (*ETreeModelGeneratorGenerateFunc)  (GtkTreeModel *model,
                                                             GtkTreeIter *child_iter,
                                                             gpointer data);
    void                (*ETreeModelGeneratorModifyFunc)    (GtkTreeModel *model,
                                                             GtkTreeIter *child_iter,
                                                             gint permutation_n,
                                                             gint column,
                                                             GValue *value,
                                                             gpointer data);
                        ETreeModelGenerator;
    ETreeModelGenerator* e_tree_model_generator_new         (GtkTreeModel *child_model);
    GtkTreeModel*       e_tree_model_generator_get_model    (ETreeModelGenerator *tree_model_generator);
    void                e_tree_model_generator_set_generate_func
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             ETreeModelGeneratorGenerateFunc func,
                                                             gpointer data,
                                                             GtkDestroyNotify destroy);
    void                e_tree_model_generator_set_modify_func
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             ETreeModelGeneratorModifyFunc func,
                                                             gpointer data,
                                                             GtkDestroyNotify destroy);
    GtkTreePath*        e_tree_model_generator_convert_child_path_to_path
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             GtkTreePath *child_path);
    void                e_tree_model_generator_convert_child_iter_to_iter
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             GtkTreeIter *generator_iter,
                                                             GtkTreeIter *child_iter);
    GtkTreePath*        e_tree_model_generator_convert_path_to_child_path
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             GtkTreePath *generator_path);
    void                e_tree_model_generator_convert_iter_to_child_iter
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             GtkTreeIter *child_iter,
                                                             gint *permutation_n,
                                                             GtkTreeIter *generator_iter);

## Object Hierarchy

      GObject
       +----ETreeModelGenerator

## Implemented Interfaces

ETreeModelGenerator implements GtkTreeModel.

## Properties

      "child-model"              GObject*              : Read / Write / Construct Only

## Description

## Details

### ETreeModelGeneratorGenerateFunc ()

    gint                (*ETreeModelGeneratorGenerateFunc)  (GtkTreeModel *model,
                                                             GtkTreeIter *child_iter,
                                                             gpointer data);

`model` : |
`child_iter` : |
`data` : |
Returns : |

### ETreeModelGeneratorModifyFunc ()

    void                (*ETreeModelGeneratorModifyFunc)    (GtkTreeModel *model,
                                                             GtkTreeIter *child_iter,
                                                             gint permutation_n,
                                                             gint column,
                                                             GValue *value,
                                                             gpointer data);

`model` : |
`child_iter` : |
`permutation_n` : |
`column` : |
`value` : |
`data` : |

### ETreeModelGenerator

    typedef struct _ETreeModelGenerator ETreeModelGenerator;

### e_tree_model_generator_new ()

    ETreeModelGenerator* e_tree_model_generator_new         (GtkTreeModel *child_model);

`child_model` : |
Returns : |

### e_tree_model_generator_get_model ()

    GtkTreeModel*       e_tree_model_generator_get_model    (ETreeModelGenerator *tree_model_generator);

`tree_model_generator` : |
Returns : |

### e_tree_model_generator_set_generate_func ()

    void                e_tree_model_generator_set_generate_func
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             ETreeModelGeneratorGenerateFunc func,
                                                             gpointer data,
                                                             GtkDestroyNotify destroy);

`tree_model_generator` : |
`func` : |
`data` : |
`destroy` : |

### e_tree_model_generator_set_modify_func ()

    void                e_tree_model_generator_set_modify_func
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             ETreeModelGeneratorModifyFunc func,
                                                             gpointer data,
                                                             GtkDestroyNotify destroy);

`tree_model_generator` : |
`func` : |
`data` : |
`destroy` : |

### e_tree_model_generator_convert_child_path_to_path ()

    GtkTreePath*        e_tree_model_generator_convert_child_path_to_path
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             GtkTreePath *child_path);

`tree_model_generator` : |
`child_path` : |
Returns : |

### e_tree_model_generator_convert_child_iter_to_iter ()

    void                e_tree_model_generator_convert_child_iter_to_iter
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             GtkTreeIter *generator_iter,
                                                             GtkTreeIter *child_iter);

`tree_model_generator` : |
`generator_iter` : |
`child_iter` : |

### e_tree_model_generator_convert_path_to_child_path ()

    GtkTreePath*        e_tree_model_generator_convert_path_to_child_path
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             GtkTreePath *generator_path);

`tree_model_generator` : |
`generator_path` : |
Returns : |

### e_tree_model_generator_convert_iter_to_child_iter ()

    void                e_tree_model_generator_convert_iter_to_child_iter
                                                            (ETreeModelGenerator *tree_model_generator,
                                                             GtkTreeIter *child_iter,
                                                             gint *permutation_n,
                                                             GtkTreeIter *generator_iter);

`tree_model_generator` : |
`child_iter` : |
`permutation_n` : |
`generator_iter` : |

## Property Details

### The `"child-model"` property

      "child-model"              GObject*              : Read / Write / Construct Only

The child model to extend.