diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2003-05-26 22:58:28 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-05-26 22:58:28 +0000 |
commit | 1499455d25ac026f4b6333ba0b94ea125f3a604b (patch) | |
tree | ae21ec4982c497ac9af024c023cd16113b7d7edf /docs/reference/gtk/tmpl/gtkadjustment.sgml | |
parent | 61e5565d51c4a6c68619a9b945e51ec6176804b2 (diff) | |
download | gtk+-1499455d25ac026f4b6333ba0b94ea125f3a604b.tar.gz |
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)
Diffstat (limited to 'docs/reference/gtk/tmpl/gtkadjustment.sgml')
-rw-r--r-- | docs/reference/gtk/tmpl/gtkadjustment.sgml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/reference/gtk/tmpl/gtkadjustment.sgml b/docs/reference/gtk/tmpl/gtkadjustment.sgml index aac7fc7949..3d4a86ec3e 100644 --- a/docs/reference/gtk/tmpl/gtkadjustment.sgml +++ b/docs/reference/gtk/tmpl/gtkadjustment.sgml @@ -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->lower</literal> and +<literal>adjustment->upper</literal>. +</para> +<para> +Note that for adjustments which are used in a #GtkScrollbar, the effective +range of allowed values goes from <literal>adjustment->lower</literal> to +<literal>adjustment->upper - adjustment->page_size</literal>. </para> @adjustment: a #GtkAdjustment. |