summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-12-23 08:45:51 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-12-23 08:56:18 -0500
commitb0b793dd949b12b38eccc0e89a2923cb193d139e (patch)
tree5386ec546eb0a6244d50e233d20e4008cf624967
parentefbb649eeef3a775527b2beed16c4a45962edce7 (diff)
downloadgtk+-b0b793dd949b12b38eccc0e89a2923cb193d139e.tar.gz
menubutton: Correct the css docs
We are using menubutton instead of button.popup now.
-rw-r--r--gtk/gtkmenubutton.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index d37ee47fc1..29a320aff3 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -104,8 +104,14 @@
*
* # CSS nodes
*
- * GtkMenuButton has a single CSS node with name button. To differentiate
- * it from a plain #GtkButton, it gets the .popup style class.
+ * |[<!-- language="plain" -->
+ * menubutton
+ * ╰── button.toggle
+ * ╰── [content]
+ *]|
+ *
+ * GtkMenuButton has a single CSS node with name menubutton
+ * which contains a toggle button node.
*
* # Accessibility
*