Constructor

GtkSingleSelectionnew

Declaration [src]

GtkSingleSelection*
gtk_single_selection_new (
  GListModel* model
)

Description [src]

Creates a new selection to handle model.

Parameters

model GListModel*
 

The GListModel to manage.

 The argument can be NULL.
 The called function takes ownership of the data, and is responsible for freeing it.

Return value

Returns: GtkSingleSelection
 

A new GtkSingleSelection

 The caller of the function takes ownership of the data, and is responsible for freeing it.