]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtklayout.sgml
Set the width of the layout to the actual wrap width (our requisition) not
[~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 <!-- ##### STRUCT GtkLayout ##### -->
31 <para>
32
33 </para>
34
35 @bin_window: 
36
37 <!-- ##### FUNCTION gtk_layout_new ##### -->
38 <para>
39
40 </para>
41
42 @hadjustment: 
43 @vadjustment: 
44 @Returns: 
45
46
47 <!-- ##### FUNCTION gtk_layout_put ##### -->
48 <para>
49
50 </para>
51
52 @layout: 
53 @child_widget: 
54 @x: 
55 @y: 
56 <!-- # Unused Parameters # -->
57 @widget: 
58
59
60 <!-- ##### FUNCTION gtk_layout_move ##### -->
61 <para>
62
63 </para>
64
65 @layout: 
66 @child_widget: 
67 @x: 
68 @y: 
69 <!-- # Unused Parameters # -->
70 @widget: 
71
72
73 <!-- ##### FUNCTION gtk_layout_set_size ##### -->
74 <para>
75
76 </para>
77
78 @layout: 
79 @width: 
80 @height: 
81
82
83 <!-- ##### FUNCTION gtk_layout_get_size ##### -->
84 <para>
85
86 </para>
87
88 @layout: 
89 @width: 
90 @height: 
91
92
93 <!-- ##### FUNCTION gtk_layout_freeze ##### -->
94 <para>
95
96 </para>
97
98 @layout: 
99
100
101 <!-- ##### FUNCTION gtk_layout_thaw ##### -->
102 <para>
103
104 </para>
105
106 @layout: 
107
108
109 <!-- ##### FUNCTION gtk_layout_get_hadjustment ##### -->
110 <para>
111
112 </para>
113
114 @layout: 
115 @Returns: 
116
117
118 <!-- ##### FUNCTION gtk_layout_get_vadjustment ##### -->
119 <para>
120
121 </para>
122
123 @layout: 
124 @Returns: 
125
126
127 <!-- ##### FUNCTION gtk_layout_set_hadjustment ##### -->
128 <para>
129
130 </para>
131
132 @layout: 
133 @adjustment: 
134
135
136 <!-- ##### FUNCTION gtk_layout_set_vadjustment ##### -->
137 <para>
138
139 </para>
140
141 @layout: 
142 @adjustment: 
143
144
145 <!-- ##### SIGNAL GtkLayout::set-scroll-adjustments ##### -->
146 <para>
147
148 </para>
149
150 @layout: the object which received the signal.
151 @arg1: 
152 @arg2: 
153
154 <!-- ##### ARG GtkLayout:hadjustment ##### -->
155 <para>
156 Horizontal scroll adjustment, see gtk_layout_set_hadjustment()
157 </para>
158
159 <!-- ##### ARG GtkLayout:vadjustment ##### -->
160 <para>
161 Vertical scroll adjustment, see gtk_layout_set_vadjustment()
162 </para>
163
164 <!-- ##### ARG GtkLayout:width ##### -->
165 <para>
166 Layout width, see gtk_layout_set_size()
167 </para>
168
169 <!-- ##### ARG GtkLayout:height ##### -->
170 <para>
171 Layout height, see gtk_layout_set_size()
172 </para>
173
174 <!-- ##### ARG GtkLayout:x ##### -->
175 <para>
176
177 </para>
178
179 <!-- ##### ARG GtkLayout:y ##### -->
180 <para>
181
182 </para>
183