diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-12-03 23:05:13 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-12-03 23:05:13 +0000 |
commit | ceb77d61008aa769aee8ef796f336a422766dc33 (patch) | |
tree | 1986ed35081b0c943307d5c0a58e28818069142b | |
parent | 02579a1333ba494f60f2658145933c6bb84cdc8b (diff) | |
parent | 6b3a612bbc7cc0924bf3b8ad45ad12097f28c732 (diff) | |
download | gtk+-ceb77d61008aa769aee8ef796f336a422766dc33.tar.gz |
Merge branch 'wip/hadess/listbox-fixes' into 'main'
listbox: Explain behaviour of GtkListBoxCreateWidgetFunc
See merge request GNOME/gtk!4194
-rw-r--r-- | gtk/gtklistbox.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtklistbox.h b/gtk/gtklistbox.h index 0e41498bda..68f02549f6 100644 --- a/gtk/gtklistbox.h +++ b/gtk/gtklistbox.h @@ -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, |