1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
6 Infinite scrollable area containing child widgets and/or custom drawing
8 <!-- ##### SECTION Long_Description ##### -->
10 #GtkLayout is similar to #GtkDrawingArea in that it's a "blank slate"
11 and doesn't do anything but paint a blank background by default. It's
12 different in that it supports scrolling natively (you can add it to a
13 #GtkScrolledWindow), and it can contain child widgets, since it's a
14 #GtkContainer. However if you're just going to draw, a #GtkDrawingArea
15 is a better choice since it has lower overhead.
19 When handling expose events on a #GtkLayout, you must draw to
20 GTK_LAYOUT (layout)->bin_window, rather than to
21 GTK_WIDGET (layout)->window, as you would for a drawing
25 <!-- ##### SECTION See_Also ##### -->
27 #GtkDrawingArea, #GtkScrolledWindow
30 <!-- ##### STRUCT GtkLayout ##### -->
37 <!-- ##### FUNCTION gtk_layout_new ##### -->
47 <!-- ##### FUNCTION gtk_layout_put ##### -->
56 <!-- # Unused Parameters # -->
60 <!-- ##### FUNCTION gtk_layout_move ##### -->
69 <!-- # Unused Parameters # -->
73 <!-- ##### FUNCTION gtk_layout_set_size ##### -->
83 <!-- ##### FUNCTION gtk_layout_get_size ##### -->
93 <!-- ##### FUNCTION gtk_layout_freeze ##### -->
101 <!-- ##### FUNCTION gtk_layout_thaw ##### -->
109 <!-- ##### FUNCTION gtk_layout_get_hadjustment ##### -->
118 <!-- ##### FUNCTION gtk_layout_get_vadjustment ##### -->
127 <!-- ##### FUNCTION gtk_layout_set_hadjustment ##### -->
136 <!-- ##### FUNCTION gtk_layout_set_vadjustment ##### -->
145 <!-- ##### SIGNAL GtkLayout::set-scroll-adjustments ##### -->
150 @layout: the object which received the signal.
154 <!-- ##### ARG GtkLayout:hadjustment ##### -->
156 Horizontal scroll adjustment, see gtk_layout_set_hadjustment()
159 <!-- ##### ARG GtkLayout:vadjustment ##### -->
161 Vertical scroll adjustment, see gtk_layout_set_vadjustment()
164 <!-- ##### ARG GtkLayout:width ##### -->
166 Layout width, see gtk_layout_set_size()
169 <!-- ##### ARG GtkLayout:height ##### -->
171 Layout height, see gtk_layout_set_size()
174 <!-- ##### ARG GtkLayout:x ##### -->
179 <!-- ##### ARG GtkLayout:y ##### -->