TreeListModel
Description:
[ CCode ( has_construct_function = false ) ]
public TreeListModel (owned ListModel root, bool passthrough, bool autoexpand, owned TreeListModelCreateModelFunc create_func)
public TreeListModel (owned ListModel root, bool passthrough, bool autoexpand, owned TreeListModelCreateModelFunc create_func)
Creates a new empty `GtkTreeListModel` displaying root with all rows collapsed.
Parameters:
| root |
The `GListModel` to use as root |
| passthrough |
true to pass through items from the models |
| autoexpand |
true to set the autoexpand property and expand the |
| create_func |
function to call to create the `GListModel` for the children of an item |
| user_data |
Data to pass to |
| user_destroy |
Function to call to free |
Returns:
|
a newly created `GtkTreeListModel`. |