summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-06 07:51:15 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-06 11:50:23 -0500
commit76fbcc2f262fc4bf4478f43cbbfde055617d172d (patch)
treecd05dd8795b1b24b895319eebf29e59493118350
parent203d8daff4dc697d92bfeec5baa84352370845db (diff)
downloadgtk+-76fbcc2f262fc4bf4478f43cbbfde055617d172d.tar.gz
range: Document fine-tuning style class use
-rw-r--r--gtk/gtkscale.c11
-rw-r--r--gtk/gtkscrollbar.c11
2 files changed, 16 insertions, 6 deletions
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 401f88777a..24f57d1c3c 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 2b68361ba2..29e8e63dbf 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.
*/