[gtk+] switch: Update css docs to reflect current reality
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] switch: Update css docs to reflect current reality
- Date: Fri, 31 Mar 2017 18:05:17 +0000 (UTC)
commit 95d2895a050cb0d015009239ac9d98fd60cc6295
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Mar 31 11:03:49 2017 -0400
switch: Update css docs to reflect current reality
This should have been done when the hierarchy was changed.
gtk/gtkswitch.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c
index c84f57b..5077b69 100644
--- a/gtk/gtkswitch.c
+++ b/gtk/gtkswitch.c
@@ -40,11 +40,13 @@
*
* |[<!-- language="plain" -->
* switch
- * ╰── slider
+ * ├── slider
+ * ├── label
+ * ╰── label
* ]|
*
- * GtkSwitch has two css nodes, the main node with the name switch and a subnode
- * named slider. Neither of them is using any style classes.
+ * GtkSwitch has four css nodes, the main node with the name switch and subnodes
+ * for the slider and the on and off labels. Neither of them is using any style classes.
*/
#include "config.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]