summaryrefslogtreecommitdiff
path: root/gtk/gtkmenuitem.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/gtkmenuitem.c
parentc389511b8600d2b18f62a776829f596254bf8285 (diff)
downloadgtk+-8e5c7ac028a221800069f325da2c1b0ba95304a0.tar.gz
menu: Add diagrams to CSS documentation
Diffstat (limited to 'gtk/gtkmenuitem.c')
-rw-r--r--gtk/gtkmenuitem.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c
index 450fb70e5a..688ecee92f 100644
--- a/gtk/gtkmenuitem.c
+++ b/gtk/gtkmenuitem.c
@@ -90,6 +90,12 @@
*
* # CSS nodes
*
+ * |[<!-- language="plain" -->
+ * menuitem
+ * ├── ...
+ * ╰── [arrow.right]
+ * ]|
+ *
* GtkMenuItem has a single CSS node with name menuitem. If the menuitem
* has a submenu, it gets another CSS node with name arrow, which has
* the .left or .right style class.