ComboRow.bindNameModel

Binds @model to @self.

If @self was already bound to a model, that previous binding is destroyed.

The contents of @self are cleared and then filled with widgets that represent items from @model. @self is updated whenever @model changes. If @model is %NULL, @self is left empty.

This is more conventient to use than hdy_combo_row_bind_model() if you want to represent items of the model with names.

class ComboRow
void
bindNameModel

Parameters

model
Type: ListModelIF

the #GListModel to be bound to @self

getNameFunc

a function that creates names for items, or %NULL in case you also passed %NULL as @model

userData
Type: void*

user data passed to @get_name_func

userDataFreeFunc
Type: GDestroyNotify

function for freeing @user_data

Meta

Since

0.0.6