summaryrefslogtreecommitdiff
path: root/gtk/gtkhscale.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-07-08 03:21:02 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-07-08 03:21:02 +0000
commitb37d8bf8a67f1663aaa397da5f0cd225b61579a1 (patch)
tree558d0ba8816c3da02d9e1ad0770eb04edada1f66 /gtk/gtkhscale.c
parent7d56a5258536da37542e001392056338bfbb5fc3 (diff)
downloadgtk+-b37d8bf8a67f1663aaa397da5f0cd225b61579a1.tar.gz
Add some additional docs on precision here too. (#309238, Steve Chaplin)
2005-07-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkhscale.c (gtk_hscale_new_with_range): (gtk_vscale_new_with_range): Add some additional docs on precision here too. (#309238, Steve Chaplin)
Diffstat (limited to 'gtk/gtkhscale.c')
-rw-r--r--gtk/gtkhscale.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkhscale.c b/gtk/gtkhscale.c
index 87c7427898..43b84738ee 100644
--- a/gtk/gtkhscale.c
+++ b/gtk/gtkhscale.c
@@ -118,6 +118,10 @@ gtk_hscale_new (GtkAdjustment *adjustment)
* increment @step. @step must be nonzero; it's the distance the
* slider moves when using the arrow keys to adjust the scale value.
*
+ * Note that the way in which the precision is derived works best if @step
+ * is a power of ten. If the resulting precision is not suitable for your
+ * needs, use gtk_scale_set_digits() to correct it.
+ *
* Return value: a new #GtkHScale
**/
GtkWidget*