[gtk/gtk-3-24] ListBox: Document buildable child type placeholder



commit ddd5fcb8ce4db25e4d5e7c11677379cb9820cdcb
Author: Daniel Boles <dboles src gmail com>
Date:   Tue Jun 18 21:43:07 2019 +0100

    ListBox: Document buildable child type placeholder
    
    andyholmes on IRC asked about this and it wasn't documented, so fix that

 gtk/gtklistbox.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index 639d36b7dc..36f9ec5246 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -64,6 +64,12 @@
  *
  * The GtkListBox widget was added in GTK+ 3.10.
  *
+ * # GtkListBox as GtkBuildable
+ *
+ * The GtkListBox implementation of the #GtkBuildable interface supports
+ * setting a child as the placeholder by specifying “placeholder” as the “type”
+ * attribute of a <child> element. See gtk_list_box_set_placeholder() for info.
+ *
  * # CSS nodes
  *
  * |[<!-- language="plain" -->


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]