Constructor
GtkTreeListModelnew
Declaration [src]
GtkTreeListModel*
gtk_tree_list_model_new (
GListModel* root,
gboolean passthrough,
gboolean autoexpand,
GtkTreeListModelCreateModelFunc create_func,
gpointer user_data,
GDestroyNotify user_destroy
)
Parameters
root |
GObject |
The |
|
The called function takes ownership of the data, and is responsible for freeing it. | |
passthrough |
gboolean |
|
|
autoexpand |
gboolean |
|
|
create_func |
GtkTreeListModelCreateModelFunc |
Function to call to create the |
|
user_data |
gpointer |
Data to pass to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
user_destroy |
GDestroyNotify |
Function to call to free |
Return value
Returns: | GtkTreeListModel |
A newly created |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |