diff options
author | Sven Herzberg <sven@imendio.com> | 2008-12-11 13:09:27 +0000 |
---|---|---|
committer | Sven Herzberg <herzi@src.gnome.org> | 2008-12-11 13:09:27 +0000 |
commit | 2b31f26827550e99836e54455538a5ca10b01cba (patch) | |
tree | e827248ca41e8848732f607474af6301ce333225 /gtk/gtkviewport.c | |
parent | 0bf3652e1df37321d4c2318f5bbf67438010f987 (diff) | |
download | gtk+-2b31f26827550e99836e54455538a5ca10b01cba.tar.gz |
Document the "set-scroll-adjustments" signal
2008-12-11 Sven Herzberg <sven@imendio.com>
Document the "set-scroll-adjustments" signal
Reviewed by Kristian Rietveld.
* gtk/gtkiconview.c,
* gtk/gtklayout.c,
* gtk/gtktextview.c,
* gtk/gtktreeview.c,
* gtk/gtkviewport.c: added proper documentation for the signal
svn path=/trunk/; revision=21871
Diffstat (limited to 'gtk/gtkviewport.c')
-rw-r--r-- | gtk/gtkviewport.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c index ad5a310441..3e64564611 100644 --- a/gtk/gtkviewport.c +++ b/gtk/gtkviewport.c @@ -125,6 +125,15 @@ gtk_viewport_class_init (GtkViewportClass *class) GTK_SHADOW_IN, GTK_PARAM_READWRITE)); + /** + * GtkViewport::set-scroll-adjustments + * @horizontal: the horizontal #GtkAdjustment + * @vertical: the vertical #GtkAdjustment + * + * Set the scroll adjustments for the viewport. Usually scrolled containers + * like #GtkScrolledWindow will emit this signal to connect two instances + * of #GtkScrollbar to the scroll directions of the #GtkViewport. + */ widget_class->set_scroll_adjustments_signal = g_signal_new (I_("set-scroll-adjustments"), G_OBJECT_CLASS_TYPE (gobject_class), |