summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/tmpl/gtklayout.sgml
blob: a61cf67d97b6ce0471d67b9b0f1c8b1b51715b60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!-- ##### SECTION Title ##### -->
GtkLayout

<!-- ##### SECTION Short_Description ##### -->

Infinite scrollable area containing child widgets and/or custom drawing

<!-- ##### SECTION Long_Description ##### -->
<para>
#GtkLayout is similar to #GtkDrawingArea in that it's a "blank slate"
and doesn't do anything but paint a blank background by default. It's
different in that it supports scrolling natively (you can add it to a
#GtkScrolledWindow), and it can contain child widgets, since it's a
#GtkContainer. However if you're just going to draw, a #GtkDrawingArea
is a better choice since it has lower overhead.
</para>

<para>
When handling expose events on a #GtkLayout, you must draw to 
GTK_LAYOUT (layout)-&gt;bin_window, rather than to 
GTK_WIDGET (layout)-&gt;window, as you would for a drawing
area.
</para>

<!-- ##### SECTION See_Also ##### -->
<para>
#GtkDrawingArea, #GtkScrolledWindow
</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### STRUCT GtkLayout ##### -->
<para>

</para>

@bin_window: 

<!-- ##### SIGNAL GtkLayout::set-scroll-adjustments ##### -->
<para>

</para>

@layout: the object which received the signal.
@arg1: 
@arg2: 

<!-- ##### ARG GtkLayout:hadjustment ##### -->
<para>

</para>

<!-- ##### ARG GtkLayout:height ##### -->
<para>

</para>

<!-- ##### ARG GtkLayout:vadjustment ##### -->
<para>

</para>

<!-- ##### ARG GtkLayout:width ##### -->
<para>

</para>

<!-- ##### ARG GtkLayout:x ##### -->
<para>

</para>

<!-- ##### ARG GtkLayout:y ##### -->
<para>

</para>

<!-- ##### FUNCTION gtk_layout_new ##### -->
<para>

</para>

@hadjustment: 
@vadjustment: 
@Returns: 


<!-- ##### FUNCTION gtk_layout_put ##### -->
<para>

</para>

@layout: 
@child_widget: 
@x: 
@y: 
<!-- # Unused Parameters # -->
@widget: 


<!-- ##### FUNCTION gtk_layout_move ##### -->
<para>

</para>

@layout: 
@child_widget: 
@x: 
@y: 
<!-- # Unused Parameters # -->
@widget: 


<!-- ##### FUNCTION gtk_layout_set_size ##### -->
<para>

</para>

@layout: 
@width: 
@height: 


<!-- ##### FUNCTION gtk_layout_get_size ##### -->
<para>

</para>

@layout: 
@width: 
@height: 


<!-- ##### FUNCTION gtk_layout_freeze ##### -->
<para>

</para>

@layout: 


<!-- ##### FUNCTION gtk_layout_thaw ##### -->
<para>

</para>

@layout: 


<!-- ##### FUNCTION gtk_layout_get_hadjustment ##### -->
<para>

</para>

@layout: 
@Returns: 


<!-- ##### FUNCTION gtk_layout_get_vadjustment ##### -->
<para>

</para>

@layout: 
@Returns: 


<!-- ##### FUNCTION gtk_layout_set_hadjustment ##### -->
<para>

</para>

@layout: 
@adjustment: 


<!-- ##### FUNCTION gtk_layout_set_vadjustment ##### -->
<para>

</para>

@layout: 
@adjustment: