Document allowed values for adjustments which are used in scrollbars.

* gtk/tmpl/gtkadjustment.sgml: Document allowed values for
	adjustments which are used in scrollbars.  (#108448, Ernst Lippe)
This commit is contained in:
Matthias Clasen 2003-05-26 22:58:28 +00:00
parent 61e5565d51
commit 1499455d25
2 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-05-27 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkadjustment.sgml: Document allowed values for
adjustments which are used in scrollbars. (#108448, Ernst Lippe)
* gtk/tmpl/gtkradiomenuitem.sgml: Fix example. (#113604,
Julien Moutte)

View File

@ -104,7 +104,14 @@ Creates a new #GtkAdjustment.
<!-- ##### FUNCTION gtk_adjustment_set_value ##### -->
<para>
Sets the #GtkAdjustment value.
Sets the #GtkAdjustment value. The value is clamped to lie between
<literal>adjustment-&gt;lower</literal> and
<literal>adjustment-&gt;upper</literal>.
</para>
<para>
Note that for adjustments which are used in a #GtkScrollbar, the effective
range of allowed values goes from <literal>adjustment-&gt;lower</literal> to
<literal>adjustment-&gt;upper - adjustment-&gt;page_size</literal>.
</para>
@adjustment: a #GtkAdjustment.