[gtk+] switch: Document css names a bit



commit 506d5b5b4886fcc37305d53906fa8a6f136bd7c5
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Oct 22 23:07:54 2015 -0400

    switch: Document css names a bit
    
    This is still provisional. Better gtk-doc support will be needed
    to do better here.

 gtk/gtkswitch.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c
index 569ffb0..d3373f9 100644
--- a/gtk/gtkswitch.c
+++ b/gtk/gtkswitch.c
@@ -35,6 +35,11 @@
  *
  * GtkSwitch can also handle situations where the underlying state changes with
  * a delay. See #GtkSwitch::state-set for details.
+ *
+ * # CSS nodes
+ *
+ * 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.
  */
 
 #include "config.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]