55
55
<em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *vadjustment</code></em>);
56
56
<span class="returnvalue">void</span> <a class="link" href="GtkLayout.html#gtk-layout-put" title="gtk_layout_put ()">gtk_layout_put</a> (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
57
57
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child_widget</code></em>,
58
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
59
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
58
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
59
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
60
60
<span class="returnvalue">void</span> <a class="link" href="GtkLayout.html#gtk-layout-move" title="gtk_layout_move ()">gtk_layout_move</a> (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
61
61
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child_widget</code></em>,
62
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
63
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
62
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
63
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
64
64
<span class="returnvalue">void</span> <a class="link" href="GtkLayout.html#gtk-layout-set-size" title="gtk_layout_set_size ()">gtk_layout_set_size</a> (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
65
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
66
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);
65
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
66
<em class="parameter"><code><span class="type">guint</span> height</code></em>);
67
67
<span class="returnvalue">void</span> <a class="link" href="GtkLayout.html#gtk-layout-get-size" title="gtk_layout_get_size ()">gtk_layout_get_size</a> (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
68
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *width</code></em>,
69
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *height</code></em>);
68
<em class="parameter"><code><span class="type">guint</span> *width</code></em>,
69
<em class="parameter"><code><span class="type">guint</span> *height</code></em>);
70
70
<span class="returnvalue">void</span> <a class="link" href="GtkLayout.html#gtk-layout-freeze" title="gtk_layout_freeze ()">gtk_layout_freeze</a> (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);
71
71
<span class="returnvalue">void</span> <a class="link" href="GtkLayout.html#gtk-layout-thaw" title="gtk_layout_thaw ()">gtk_layout_thaw</a> (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);
72
72
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> * <a class="link" href="GtkLayout.html#gtk-layout-get-hadjustment" title="gtk_layout_get_hadjustment ()">gtk_layout_get_hadjustment</a> (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);
75
75
<em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);
76
76
<span class="returnvalue">void</span> <a class="link" href="GtkLayout.html#gtk-layout-set-vadjustment" title="gtk_layout_set_vadjustment ()">gtk_layout_set_vadjustment</a> (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
77
77
<em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);
78
<a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" title="gtk_layout_get_bin_window ()">gtk_layout_get_bin_window</a> (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);
78
<a href="../gdk/gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" title="gtk_layout_get_bin_window ()">gtk_layout_get_bin_window</a> (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);
81
81
<div class="refsect1">
82
82
<a name="GtkLayout.object-hierarchy"></a><h2>Object Hierarchy</h2>
83
83
<pre class="synopsis">
84
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
85
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
85
+----GInitiallyUnowned
86
86
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
87
87
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
88
88
+----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
99
99
<a name="GtkLayout.properties"></a><h2>Properties</h2>
100
100
<pre class="synopsis">
101
101
"<a class="link" href="GtkLayout.html#GtkLayout--hadjustment" title='The "hadjustment" property'>hadjustment</a>" <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>* : Read / Write
102
"<a class="link" href="GtkLayout.html#GtkLayout--height" title='The "height" property'>height</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
102
"<a class="link" href="GtkLayout.html#GtkLayout--height" title='The "height" property'>height</a>" <span class="type">guint</span> : Read / Write
103
103
"<a class="link" href="GtkLayout.html#GtkLayout--vadjustment" title='The "vadjustment" property'>vadjustment</a>" <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>* : Read / Write
104
"<a class="link" href="GtkLayout.html#GtkLayout--width" title='The "width" property'>width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
104
"<a class="link" href="GtkLayout.html#GtkLayout--width" title='The "width" property'>width</a>" <span class="type">guint</span> : Read / Write
107
107
<div class="refsect1">
108
108
<a name="GtkLayout.child-properties"></a><h2>Child Properties</h2>
109
109
<pre class="synopsis">
110
"<a class="link" href="GtkLayout.html#GtkLayout--c-x" title='The "x" child property'>x</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
111
"<a class="link" href="GtkLayout.html#GtkLayout--c-y" title='The "y" child property'>y</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
110
"<a class="link" href="GtkLayout.html#GtkLayout--c-x" title='The "x" child property'>x</a>" <span class="type">gint</span> : Read / Write
111
"<a class="link" href="GtkLayout.html#GtkLayout--c-y" title='The "y" child property'>y</a>" <span class="type">gint</span> : Read / Write
114
114
<div class="refsect1">
115
115
<a name="GtkLayout.signals"></a><h2>Signals</h2>
116
116
<pre class="synopsis">
117
"<a class="link" href="GtkLayout.html#GtkLayout-set-scroll-adjustments" title='The "set-scroll-adjustments" signal'>set-scroll-adjustments</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
117
"<a class="link" href="GtkLayout.html#GtkLayout-set-scroll-adjustments" title='The "set-scroll-adjustments" signal'>set-scroll-adjustments</a>" : <code class="literal">Action</code>
120
120
<div class="refsect1">
152
152
<em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *vadjustment</code></em>);</pre>
154
154
Creates a new <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>. Unless you have a specific adjustment
155
you'd like the layout to use for scrolling, pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for
155
you'd like the layout to use for scrolling, pass <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> for
156
156
<em class="parameter"><code>hadjustment</code></em> and <em class="parameter"><code>vadjustment</code></em>.
158
158
<div class="variablelist"><table border="0">
162
162
<td><p><span class="term"><em class="parameter"><code>hadjustment</code></em> :</span></p></td>
163
<td>horizontal scroll adjustment, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
163
<td>horizontal scroll adjustment, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
167
167
<td><p><span class="term"><em class="parameter"><code>vadjustment</code></em> :</span></p></td>
168
<td>vertical scroll adjustment, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
168
<td>vertical scroll adjustment, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
181
181
<a name="gtk-layout-put"></a><h3>gtk_layout_put ()</h3>
182
182
<pre class="programlisting"><span class="returnvalue">void</span> gtk_layout_put (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
183
183
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child_widget</code></em>,
184
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
185
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
184
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
185
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
187
187
Adds <em class="parameter"><code>child_widget</code></em> to <em class="parameter"><code>layout</code></em>, at position (<em class="parameter"><code>x</code></em>,<em class="parameter"><code>y</code></em>).
188
188
<em class="parameter"><code>layout</code></em> becomes the new parent container of <em class="parameter"><code>child_widget</code></em>.
215
215
<a name="gtk-layout-move"></a><h3>gtk_layout_move ()</h3>
216
216
<pre class="programlisting"><span class="returnvalue">void</span> gtk_layout_move (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
217
217
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child_widget</code></em>,
218
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
219
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
218
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
219
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
221
221
Moves a current child of <em class="parameter"><code>layout</code></em> to a new position.
248
248
<div class="refsect2">
249
249
<a name="gtk-layout-set-size"></a><h3>gtk_layout_set_size ()</h3>
250
250
<pre class="programlisting"><span class="returnvalue">void</span> gtk_layout_set_size (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
251
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
252
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre>
251
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
252
<em class="parameter"><code><span class="type">guint</span> height</code></em>);</pre>
254
254
Sets the size of the scrollable area of the layout.
276
276
<div class="refsect2">
277
277
<a name="gtk-layout-get-size"></a><h3>gtk_layout_get_size ()</h3>
278
278
<pre class="programlisting"><span class="returnvalue">void</span> gtk_layout_get_size (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
279
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *width</code></em>,
280
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *height</code></em>);</pre>
279
<em class="parameter"><code><span class="type">guint</span> *width</code></em>,
280
<em class="parameter"><code><span class="type">guint</span> *height</code></em>);</pre>
282
282
Gets the size that has been set on the layout, and that determines
283
283
the total extents of the layout's scrollbar area. See
295
295
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
296
296
<td>location to store the width set on
297
<em class="parameter"><code>layout</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
297
<em class="parameter"><code>layout</code></em>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
301
301
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
302
302
<td>location to store the height set on
303
<em class="parameter"><code>layout</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
303
<em class="parameter"><code>layout</code></em>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
462
462
<div class="refsect2">
463
463
<a name="gtk-layout-get-bin-window"></a><h3>gtk_layout_get_bin_window ()</h3>
464
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);</pre>
464
<pre class="programlisting"><a href="../gdk/gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);</pre>
466
466
Retrieve the bin window of the layout used for drawing operations.
494
494
<div class="refsect2">
495
495
<a name="GtkLayout--height"></a><h3>The <code class="literal">"height"</code> property</h3>
496
<pre class="programlisting"> "height" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
496
<pre class="programlisting"> "height" <span class="type">guint</span> : Read / Write</pre>
497
497
<p>The height of the layout.</p>
498
498
<p>Allowed values: <= G_MAXINT</p>
499
499
<p>Default value: 100</p>
508
508
<div class="refsect2">
509
509
<a name="GtkLayout--width"></a><h3>The <code class="literal">"width"</code> property</h3>
510
<pre class="programlisting"> "width" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
510
<pre class="programlisting"> "width" <span class="type">guint</span> : Read / Write</pre>
511
511
<p>The width of the layout.</p>
512
512
<p>Allowed values: <= G_MAXINT</p>
513
513
<p>Default value: 100</p>
517
517
<a name="GtkLayout.child-property-details"></a><h2>Child Property Details</h2>
518
518
<div class="refsect2">
519
519
<a name="GtkLayout--c-x"></a><h3>The <code class="literal">"x"</code> child property</h3>
520
<pre class="programlisting"> "x" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
520
<pre class="programlisting"> "x" <span class="type">gint</span> : Read / Write</pre>
521
521
<p>X position of child widget.</p>
522
522
<p>Default value: 0</p>
525
525
<div class="refsect2">
526
526
<a name="GtkLayout--c-y"></a><h3>The <code class="literal">"y"</code> child property</h3>
527
<pre class="programlisting"> "y" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
527
<pre class="programlisting"> "y" <span class="type">gint</span> : Read / Write</pre>
528
528
<p>Y position of child widget.</p>
529
529
<p>Default value: 0</p>
536
536
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *horizontal,
537
537
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *vertical,
538
538
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *arg2,
539
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre>
539
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
541
541
Set the scroll adjustments for the layout. Usually scrolled containers
542
542
like <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> will emit this signal to connect two instances