Constructor
RBListModelnew
Declaration [src]
RBListModel*
rb_list_model_new (
GType item_type,
GDestroyNotify destroy_item
)
Parameters
item_type-
Type:
GTypeA
GTypefor items in the list. destroy_item-
Type:
GDestroyNotifyCallback for destroying list items.
Return value
Type: RBListModel
The model.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |