Method
AdwPreferencesGroupbind_model
unstable since: 1.8
Declaration [src]
void
adw_preferences_group_bind_model (
AdwPreferencesGroup* self,
GListModel* model,
GtkListBoxCreateWidgetFunc create_row_func,
gpointer user_data,
GDestroyNotify user_data_free_func
)
Parameters
model-
Type:
GObjectA list model to bind.
The argument can be NULL.The data is owned by the caller of the method. create_row_func-
Type:
GtkListBoxCreateWidgetFunca function creating a row for each item, or `NULL` in case `model` is `NULL`.The argument can be NULL. user_data-
Type:
gpointerUser data passed to
create_row_func.The argument can be NULL.The data is owned by the caller of the method. user_data_free_func-
Type:
GDestroyNotifyFunction for freeing
user_data.