Constructor
Gtk.MapListModel.new
Declaration [src]
GtkMapListModel*
gtk_map_list_model_new (
GListModel* model,
GtkMapListModelMapFunc map_func,
gpointer user_data,
GDestroyNotify user_destroy
)
Parameters
model |
GListModel* |
The model to map or |
|
Can be NULL | |
Ownership of the data is transferred to the callee | |
map_func |
GtkMapListModelMapFunc |
map function or |
|
user_data |
gpointer |
user data passed to |
|
user_destroy |
GDestroyNotify |
destroy notifier for |
Return value
Returns: GtkMapListModel |
|
a new |
|
Ownership of the data is transferred to the caller |