Add some additional docs on precision. (#309238, Steve Chaplin)

2005-07-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
	additional docs on precision.  (#309238, Steve Chaplin)
This commit is contained in:
Matthias Clasen 2005-07-06 03:45:13 +00:00 committed by Matthias Clasen
parent 2b6ec82856
commit d28d674a66
4 changed files with 14 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2005-07-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
additional docs on precision. (#309238, Steve Chaplin)
* modules/input/imime.c: Fix includes. (#309462, Kazuki IWAMOTO)
2005-07-05 Matthias Clasen <mclasen@redhat.com>

View File

@ -1,5 +1,8 @@
2005-07-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
additional docs on precision. (#309238, Steve Chaplin)
* modules/input/imime.c: Fix includes. (#309462, Kazuki IWAMOTO)
2005-07-05 Matthias Clasen <mclasen@redhat.com>

View File

@ -1,5 +1,8 @@
2005-07-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
additional docs on precision. (#309238, Steve Chaplin)
* modules/input/imime.c: Fix includes. (#309462, Kazuki IWAMOTO)
2005-07-05 Matthias Clasen <mclasen@redhat.com>

View File

@ -1599,6 +1599,10 @@ gtk_spin_button_new (GtkAdjustment *adjustment,
* is the default. The precision of the spin button is equivalent to the
* precision of @step.
*
* 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_spin_button_set_digits() to correct it.
*
* Return value: The new spin button as a #GtkWidget.
**/
GtkWidget *