summaryrefslogtreecommitdiff
path: root/gtk/gtklistbox.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2016-09-20 23:32:00 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2016-09-20 23:32:00 +0100
commitb74cd23e299418d67114c63ca4bc66dcf5af47e1 (patch)
tree28ef9c0c29f92b224169e07b80492a8922e4d509 /gtk/gtklistbox.c
parentf88c8e45e7bc7d4f702f3f4edfb1e34834dd3699 (diff)
downloadgtk+-b74cd23e299418d67114c63ca4bc66dcf5af47e1.tar.gz
docs: Add a diagram for GtkListBox nodes
GtkListBox's API reference for CSS nodes should follow the template of other widget classes.
Diffstat (limited to 'gtk/gtklistbox.c')
-rw-r--r--gtk/gtklistbox.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index 3adb904b53..026911509e 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -65,8 +65,13 @@
*
* # CSS nodes
*
- * GtkListBox uses a single CSS node with name list. GtkListBoxRow uses
- * a single CSS node with name row. The row nodes get the .activatable
+ * |[<!-- language="plain" -->
+ * list
+ * ╰── row[.activatable]
+ * ]|
+ *
+ * GtkListBox uses a single CSS node named list. Each GtkListBoxRow uses
+ * a single CSS node named row. The row nodes get the .activatable
* style class added when appropriate.
*/