]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtklayout.sgml
Make 3.0 parallel-installable to 2.x
[~andy/gtk] / docs / reference / gtk / tmpl / gtklayout.sgml
1 <!-- ##### SECTION Title ##### -->
2 GtkLayout
3
4 <!-- ##### SECTION Short_Description ##### -->
5
6 Infinite scrollable area containing child widgets and/or custom drawing
7
8 <!-- ##### SECTION Long_Description ##### -->
9 <para>
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.
16 </para>
17
18 <para>
19 When handling expose events on a #GtkLayout, you must draw to 
20 GTK_LAYOUT (layout)-&gt;bin_window, rather than to 
21 GTK_WIDGET (layout)-&gt;window, as you would for a drawing
22 area.
23 </para>
24
25 <!-- ##### SECTION See_Also ##### -->
26 <para>
27 #GtkDrawingArea, #GtkScrolledWindow
28 </para>
29
30 <!-- ##### SECTION Stability_Level ##### -->
31
32
33 <!-- ##### SECTION Image ##### -->
34
35
36 <!-- ##### STRUCT GtkLayout ##### -->
37 <para>
38
39 </para>
40
41
42 <!-- ##### SIGNAL GtkLayout::set-scroll-adjustments ##### -->
43 <para>
44
45 </para>
46
47 @layout: the object which received the signal.
48 @arg1: 
49 @arg2: 
50
51 <!-- ##### ARG GtkLayout:hadjustment ##### -->
52 <para>
53
54 </para>
55
56 <!-- ##### ARG GtkLayout:height ##### -->
57 <para>
58
59 </para>
60
61 <!-- ##### ARG GtkLayout:vadjustment ##### -->
62 <para>
63
64 </para>
65
66 <!-- ##### ARG GtkLayout:width ##### -->
67 <para>
68
69 </para>
70
71 <!-- ##### ARG GtkLayout:x ##### -->
72 <para>
73
74 </para>
75
76 <!-- ##### ARG GtkLayout:y ##### -->
77 <para>
78
79 </para>
80
81 <!-- ##### FUNCTION gtk_layout_new ##### -->
82 <para>
83
84 </para>
85
86 @hadjustment: 
87 @vadjustment: 
88 @Returns: 
89
90
91 <!-- ##### FUNCTION gtk_layout_put ##### -->
92 <para>
93
94 </para>
95
96 @layout: 
97 @child_widget: 
98 @x: 
99 @y: 
100
101
102 <!-- ##### FUNCTION gtk_layout_move ##### -->
103 <para>
104
105 </para>
106
107 @layout: 
108 @child_widget: 
109 @x: 
110 @y: 
111
112
113 <!-- ##### FUNCTION gtk_layout_set_size ##### -->
114 <para>
115
116 </para>
117
118 @layout: 
119 @width: 
120 @height: 
121
122
123 <!-- ##### FUNCTION gtk_layout_get_size ##### -->
124 <para>
125
126 </para>
127
128 @layout: 
129 @width: 
130 @height: 
131
132
133 <!-- ##### FUNCTION gtk_layout_get_hadjustment ##### -->
134 <para>
135
136 </para>
137
138 @layout: 
139 @Returns: 
140
141
142 <!-- ##### FUNCTION gtk_layout_get_vadjustment ##### -->
143 <para>
144
145 </para>
146
147 @layout: 
148 @Returns: 
149
150
151 <!-- ##### FUNCTION gtk_layout_set_hadjustment ##### -->
152 <para>
153
154 </para>
155
156 @layout: 
157 @adjustment: 
158
159
160 <!-- ##### FUNCTION gtk_layout_set_vadjustment ##### -->
161 <para>
162
163 </para>
164
165 @layout: 
166 @adjustment: 
167
168
169 <!-- ##### FUNCTION gtk_layout_get_bin_window ##### -->
170 <para>
171
172 </para>
173
174 @layout: 
175 @Returns: 
176
177