summaryrefslogtreecommitdiff
path: root/gtk/gtkmenu.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-03 14:24:25 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-03 14:27:35 -0500
commit8e5c7ac028a221800069f325da2c1b0ba95304a0 (patch)
treec655b56e8e987e360f0bba1378c51ca596fae326 /gtk/gtkmenu.c
parentc389511b8600d2b18f62a776829f596254bf8285 (diff)
downloadgtk+-8e5c7ac028a221800069f325da2c1b0ba95304a0.tar.gz
menu: Add diagrams to CSS documentation
Diffstat (limited to 'gtk/gtkmenu.c')
-rw-r--r--gtk/gtkmenu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 3bbc9aac2c..a3da298e55 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -85,6 +85,13 @@
*
* # CSS nodes
*
+ * |[<!-- language="plain" -->
+ * menu
+ * ├── arrow.top
+ * ├── ...
+ * ╰── arrow.bottom
+ * ]|
+ *
* The main CSS node of GtkMenu has name menu, and there are two subnodes
* with name arrow, for scrolling menu arrows. These subnodes get the
* .top and .bottom style classes.