summaryrefslogtreecommitdiff
path: root/gtk/gtklayout.c
diff options
context:
space:
mode:
authorSven Herzberg <sven@imendio.com>2008-12-11 13:09:27 +0000
committerSven Herzberg <herzi@src.gnome.org>2008-12-11 13:09:27 +0000
commit2b31f26827550e99836e54455538a5ca10b01cba (patch)
treee827248ca41e8848732f607474af6301ce333225 /gtk/gtklayout.c
parent0bf3652e1df37321d4c2318f5bbf67438010f987 (diff)
downloadgtk+-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/gtklayout.c')
-rw-r--r--gtk/gtklayout.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index ccd8ede6bf..153a2dfca4 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -658,6 +658,15 @@ gtk_layout_class_init (GtkLayoutClass *class)
class->set_scroll_adjustments = gtk_layout_set_adjustments;
+ /**
+ * GtkLayout::set-scroll-adjustments
+ * @horizontal: the horizontal #GtkAdjustment
+ * @vertical: the vertical #GtkAdjustment
+ *
+ * Set the scroll adjustments for the layout. Usually scrolled containers
+ * like #GtkScrolledWindow will emit this signal to connect two instances
+ * of #GtkScrollbar to the scroll directions of the #GtkLayout.
+ */
widget_class->set_scroll_adjustments_signal =
g_signal_new (I_("set-scroll-adjustments"),
G_OBJECT_CLASS_TYPE (gobject_class),