GtkListBox: Make model binding introspectable
Introspection can't deal with bare pointers, so annotate the callback as taking objects. This is the outcome of discussion in https://bugzilla.gnome.org/show_bug.cgi?id=746893
This commit is contained in:
@ -171,13 +171,13 @@ typedef void (*GtkListBoxUpdateHeaderFunc) (GtkListBoxRow *row,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkListBoxCreateWidgetFunc:
|
* GtkListBoxCreateWidgetFunc:
|
||||||
* @item: the item from the model for which to create a widget for
|
* @item: (type GObject): the item from the model for which to create a widget for
|
||||||
* @user_data: (closure): user data
|
* @user_data: (closure): user data
|
||||||
*
|
*
|
||||||
* Called for list boxes that are bound to a #GListModel with
|
* 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.
|
* gtk_list_box_bind_model() for each item that gets added to the model.
|
||||||
*
|
*
|
||||||
* Returns: a #GtkWidget that represents @item
|
* Returns: (transfer full): a #GtkWidget that represents @item
|
||||||
*
|
*
|
||||||
* Since: 3.16
|
* Since: 3.16
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user