Function

Gtk.ListBoxCreateWidgetFunc

Declaration

GtkWidget*
ListBoxCreateWidgetFunc (
  GObject* item,
  gpointer user_data
)

Description [src]

Called for list boxes that are bound to a GListModel with gtk_list_box_bind_model() for each item that gets added to the model.

Parameters

item GObject*
 

the item from the model for which to create a widget for

 Ownership is not transferred to the callee
user_data gpointer
 

user data

Return value

Returns: GtkWidget

a GtkWidget that represents item

Ownership of the data is transferred to the caller