bind_model


Description:

[ Version ( since = "1.8" ) ]
public void bind_model (ListModel? model, owned ListBoxCreateWidgetFunc? create_row_func)

Binds model to this.

See [method@Gtk.ListBox.bind_model].

Parameters:

this

a preferences group

model

a list model to bind

create_row_func

a function creating a row for each item, or `NULL` in case model is `NULL`

user_data

user data passed to create_row_func

user_data_free_func

function for freeing user_data