diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-07-08 03:21:02 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-07-08 03:21:02 +0000 |
commit | b37d8bf8a67f1663aaa397da5f0cd225b61579a1 (patch) | |
tree | 558d0ba8816c3da02d9e1ad0770eb04edada1f66 /gtk/gtkvscale.c | |
parent | 7d56a5258536da37542e001392056338bfbb5fc3 (diff) | |
download | gtk+-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/gtkvscale.c')
-rw-r--r-- | gtk/gtkvscale.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkvscale.c b/gtk/gtkvscale.c index dfb043fa6b..ed2e8e9081 100644 --- a/gtk/gtkvscale.c +++ b/gtk/gtkvscale.c @@ -120,6 +120,10 @@ gtk_vscale_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 #GtkVScale **/ GtkWidget* |