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 | GListModel* | 
| 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  | |
| 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. |