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)
This commit is contained in:
Matthias Clasen 2005-07-08 03:21:02 +00:00 committed by Matthias Clasen
parent 7d56a52585
commit b37d8bf8a6
5 changed files with 20 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2005-07-07 Matthias Clasen <mclasen@redhat.com> 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)
* gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't * gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
generate events on destroyed windows. generate events on destroyed windows.

View File

@ -1,5 +1,9 @@
2005-07-07 Matthias Clasen <mclasen@redhat.com> 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)
* gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't * gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
generate events on destroyed windows. generate events on destroyed windows.

View File

@ -1,5 +1,9 @@
2005-07-07 Matthias Clasen <mclasen@redhat.com> 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)
* gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't * gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
generate events on destroyed windows. generate events on destroyed windows.

View File

@ -118,6 +118,10 @@ gtk_hscale_new (GtkAdjustment *adjustment)
* increment @step. @step must be nonzero; it's the distance the * increment @step. @step must be nonzero; it's the distance the
* slider moves when using the arrow keys to adjust the scale value. * 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 * Return value: a new #GtkHScale
**/ **/
GtkWidget* GtkWidget*

View File

@ -120,6 +120,10 @@ gtk_vscale_new (GtkAdjustment *adjustment)
* increment @step. @step must be nonzero; it's the distance the * increment @step. @step must be nonzero; it's the distance the
* slider moves when using the arrow keys to adjust the scale value. * 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 * Return value: a new #GtkVScale
**/ **/
GtkWidget* GtkWidget*