summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-12-23 09:03:07 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-12-23 09:03:07 -0500
commit6bd0dc3e783aa3aa0c9468a63d101e2504e70946 (patch)
tree36319d991100e01288c8d2d045f2cbece228b50f
parent4f0c920a8e5f2ff17b3e8e41f241c13745e5ff6a (diff)
downloadgtk+-6bd0dc3e783aa3aa0c9468a63d101e2504e70946.tar.gz
colorbutton: Correct the css docs
Mention the wrapper colorbutton node.
-rw-r--r--gtk/gtkcolorbutton.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index f4f8cc40fb..622cce0b60 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -58,8 +58,15 @@
*
* # CSS nodes
*
- * GtkColorButton has a single CSS node with name button. To differentiate
- * it from a plain #GtkButton, it gets the .color style class.
+ * |[<!-- language="plain" -->
+ * colorbutton
+ * ╰── button.color
+ * ╰── [content]
+ *]|
+ *
+ * GtkColorButton has a single CSS node with name colorbutton which
+ * contains a button node. To differentiate it from a plain #GtkButton,
+ * it gets the .color style class.
*/
typedef struct _GtkColorButtonClass GtkColorButtonClass;