[gtk+] range: Document fine-tuning style class use



commit 76fbcc2f262fc4bf4478f43cbbfde055617d172d
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Nov 6 07:51:15 2015 -0500

    range: Document fine-tuning style class use

 gtk/gtkscale.c     |   11 ++++++++---
 gtk/gtkscrollbar.c |   11 ++++++++---
 2 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 401f887..24f57d1 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -89,9 +89,14 @@
  * ]|
  *
  * GtkScale has a main CSS node with name scale, and subnodes with names
- * trough and slider. If marks are present, there is a marks subnode before
- * or after the trough node, below which each mark gets a node with name mark.
- * The marks nodes get either the .top or .bottom style class.
+ * trough and slider.
+ *
+ * The main node gets the style class .fine-tune added when the scale is in
+ * 'fine-tuning' mode.
+ *
+ * If marks are present, there is a marks subnode before or after the trough
+ * node, below which each mark gets a node with name mark. The marks nodes get
+ * either the .top or .bottom style class.
  */
 
 
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index 2b68361..29e8e63 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -66,9 +66,14 @@
  * ]|
  *
  * GtkScrollbar has a main CSS node with name scrollbar, and subnodes with
- * names trough and slider. If steppers are enabled, they are represented by
- * up to four additional subnodes with name button. These get the style classes
- * .up and .down to indicate in which direction they are moving.
+ * names trough and slider.
+ *
+ * The main node gets the style class .fine-tune added when the scrollbar is
+ * in 'fine-tuning' mode.
+ *
+ * If steppers are enabled, they are represented by up to four additional
+ * subnodes with name button. These get the style classes .up and .down to
+ * indicate in which direction they are moving.
  */
 
 


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