Constructor
Gtk.TreeListModel.new
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 |
|
Ownership of the data is transferred to the callee | |
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 |
|
Ownership of the data is transferred to the caller |