Merge branch 'wip/hadess/listbox-fixes' into 'main'

listbox: Explain behaviour of GtkListBoxCreateWidgetFunc

See merge request GNOME/gtk!4194
This commit is contained in:
Matthias Clasen 2021-12-03 23:05:13 +00:00
commit ceb77d6100

View File

@ -121,6 +121,9 @@ typedef void (*GtkListBoxUpdateHeaderFunc) (GtkListBoxRow *row,
* 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.
*
* If the widget returned is not a #GtkListBoxRow widget, then the widget
* will be inserted as the child of an intermediate #GtkListBoxRow.
*
* Returns: (transfer full): a `GtkWidget` that represents @item
*/
typedef GtkWidget * (*GtkListBoxCreateWidgetFunc) (gpointer item,