MapListModel.this

Creates a new GtkMapListModel for the given arguments.

  1. this(GtkMapListModel* gtkMapListModel, bool ownedRef)
  2. this(ListModelIF model, GtkMapListModelMapFunc mapFunc, void* userData, GDestroyNotify userDestroy)
    class MapListModel

Parameters

model ListModelIF

The model to map or %NULL for none

mapFunc GtkMapListModelMapFunc

map function or %NULL to not map items

userData void*

user data passed to @map_func

userDestroy GDestroyNotify

destroy notifier for @user_data

Return Value

a new GtkMapListModel

Throws

ConstructionException GTK+ fails to create the object.

Meta