summaryrefslogtreecommitdiff
path: root/gtk/gtklayout.c
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>2008-06-20 11:06:46 +0000
committerTim Janik <timj@src.gnome.org>2008-06-20 11:06:46 +0000
commitf79c213b33bf934c098683253c7d44b53193124b (patch)
treefc520a9ec1ec72640d7e780421188e160963dd8c /gtk/gtklayout.c
parent6ed334c3de67893eff585c3728af7a736d52e39f (diff)
downloadgtk+-f79c213b33bf934c098683253c7d44b53193124b.tar.gz
Seal GtkLayout
svn path=/trunk/; revision=20588
Diffstat (limited to 'gtk/gtklayout.c')
-rw-r--r--gtk/gtklayout.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index dbc36777d7..82cf4c6105 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -47,6 +47,7 @@ struct _GtkLayoutChild {
enum {
PROP_0,
+ PROP_BIN_WINDOW,
PROP_HADJUSTMENT,
PROP_VADJUSTMENT,
PROP_WIDTH,
@@ -143,6 +144,22 @@ gtk_layout_new (GtkAdjustment *hadjustment,
}
/**
+ * gtk_layout_get_bin_window:
+ * @layout: a #GtkLayout
+ *
+ * Retrieve the bin window of the layout used for drawing operations.
+ *
+ * Return value: a #GdkWindow
+ **/
+GdkWindow*
+gtk_layout_get_bin_window (GtkLayout *layout)
+{
+ g_return_val_if_fail (GTK_IS_LAYOUT (layout), NULL);
+
+ return layout->bin_window;
+}
+
+/**
* gtk_layout_get_hadjustment:
* @layout: a #GtkLayout
*