49
49
struct <a class="link" href="GtkMisc.html#GtkMisc-struct" title="struct GtkMisc">GtkMisc</a>;
50
50
<span class="returnvalue">void</span> <a class="link" href="GtkMisc.html#gtk-misc-set-alignment" title="gtk_misc_set_alignment ()">gtk_misc_set_alignment</a> (<em class="parameter"><code><a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> *misc</code></em>,
51
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> xalign</code></em>,
52
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> yalign</code></em>);
51
<em class="parameter"><code><span class="type">gfloat</span> xalign</code></em>,
52
<em class="parameter"><code><span class="type">gfloat</span> yalign</code></em>);
53
53
<span class="returnvalue">void</span> <a class="link" href="GtkMisc.html#gtk-misc-set-padding" title="gtk_misc_set_padding ()">gtk_misc_set_padding</a> (<em class="parameter"><code><a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> *misc</code></em>,
54
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> xpad</code></em>,
55
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ypad</code></em>);
54
<em class="parameter"><code><span class="type">gint</span> xpad</code></em>,
55
<em class="parameter"><code><span class="type">gint</span> ypad</code></em>);
56
56
<span class="returnvalue">void</span> <a class="link" href="GtkMisc.html#gtk-misc-get-alignment" title="gtk_misc_get_alignment ()">gtk_misc_get_alignment</a> (<em class="parameter"><code><a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> *misc</code></em>,
57
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *xalign</code></em>,
58
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *yalign</code></em>);
57
<em class="parameter"><code><span class="type">gfloat</span> *xalign</code></em>,
58
<em class="parameter"><code><span class="type">gfloat</span> *yalign</code></em>);
59
59
<span class="returnvalue">void</span> <a class="link" href="GtkMisc.html#gtk-misc-get-padding" title="gtk_misc_get_padding ()">gtk_misc_get_padding</a> (<em class="parameter"><code><a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> *misc</code></em>,
60
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *xpad</code></em>,
61
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *ypad</code></em>);
60
<em class="parameter"><code><span class="type">gint</span> *xpad</code></em>,
61
<em class="parameter"><code><span class="type">gint</span> *ypad</code></em>);
64
64
<div class="refsect1">
65
65
<a name="GtkMisc.object-hierarchy"></a><h2>Object Hierarchy</h2>
66
66
<pre class="synopsis">
67
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
68
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
68
+----GInitiallyUnowned
69
69
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
70
70
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
84
84
<div class="refsect1">
85
85
<a name="GtkMisc.properties"></a><h2>Properties</h2>
86
86
<pre class="synopsis">
87
"<a class="link" href="GtkMisc.html#GtkMisc--xalign" title='The "xalign" property'>xalign</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
88
"<a class="link" href="GtkMisc.html#GtkMisc--xpad" title='The "xpad" property'>xpad</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
89
"<a class="link" href="GtkMisc.html#GtkMisc--yalign" title='The "yalign" property'>yalign</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
90
"<a class="link" href="GtkMisc.html#GtkMisc--ypad" title='The "ypad" property'>ypad</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
87
"<a class="link" href="GtkMisc.html#GtkMisc--xalign" title='The "xalign" property'>xalign</a>" <span class="type">gfloat</span> : Read / Write
88
"<a class="link" href="GtkMisc.html#GtkMisc--xpad" title='The "xpad" property'>xpad</a>" <span class="type">gint</span> : Read / Write
89
"<a class="link" href="GtkMisc.html#GtkMisc--yalign" title='The "yalign" property'>yalign</a>" <span class="type">gfloat</span> : Read / Write
90
"<a class="link" href="GtkMisc.html#GtkMisc--ypad" title='The "ypad" property'>ypad</a>" <span class="type">gint</span> : Read / Write
93
93
<div class="refsect1">
128
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> <em class="structfield"><code>xalign</code></em>;</td>
128
<span class="type">gfloat</span> <em class="structfield"><code>xalign</code></em>;</td>
129
129
<td>the horizontal alignment, from 0 (left) to 1 (right).</td>
133
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> <em class="structfield"><code>yalign</code></em>;</td>
133
<span class="type">gfloat</span> <em class="structfield"><code>yalign</code></em>;</td>
134
134
<td>the vertical alignment, from 0 (top) to 1 (bottom).</td>
138
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code>xpad</code></em>;</td>
138
<span class="type">guint16</span> <em class="structfield"><code>xpad</code></em>;</td>
139
139
<td>the amount of space to add on the left and right of the widget,
144
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code>ypad</code></em>;</td>
144
<span class="type">guint16</span> <em class="structfield"><code>ypad</code></em>;</td>
145
145
<td>the amount of space to add on the top and bottom of the widget,
154
154
<div class="refsect2">
155
155
<a name="gtk-misc-set-alignment"></a><h3>gtk_misc_set_alignment ()</h3>
156
156
<pre class="programlisting"><span class="returnvalue">void</span> gtk_misc_set_alignment (<em class="parameter"><code><a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> *misc</code></em>,
157
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> xalign</code></em>,
158
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> yalign</code></em>);</pre>
157
<em class="parameter"><code><span class="type">gfloat</span> xalign</code></em>,
158
<em class="parameter"><code><span class="type">gfloat</span> yalign</code></em>);</pre>
160
160
Sets the alignment of the widget.
181
181
<div class="refsect2">
182
182
<a name="gtk-misc-set-padding"></a><h3>gtk_misc_set_padding ()</h3>
183
183
<pre class="programlisting"><span class="returnvalue">void</span> gtk_misc_set_padding (<em class="parameter"><code><a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> *misc</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> xpad</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> ypad</code></em>);</pre>
184
<em class="parameter"><code><span class="type">gint</span> xpad</code></em>,
185
<em class="parameter"><code><span class="type">gint</span> ypad</code></em>);</pre>
187
187
Sets the amount of space to add around the widget.
210
210
<div class="refsect2">
211
211
<a name="gtk-misc-get-alignment"></a><h3>gtk_misc_get_alignment ()</h3>
212
212
<pre class="programlisting"><span class="returnvalue">void</span> gtk_misc_get_alignment (<em class="parameter"><code><a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> *misc</code></em>,
213
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *xalign</code></em>,
214
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *yalign</code></em>);</pre>
213
<em class="parameter"><code><span class="type">gfloat</span> *xalign</code></em>,
214
<em class="parameter"><code><span class="type">gfloat</span> *yalign</code></em>);</pre>
216
216
Gets the X and Y alignment of the widget within its allocation.
217
217
See <a class="link" href="GtkMisc.html#gtk-misc-set-alignment" title="gtk_misc_set_alignment ()"><code class="function">gtk_misc_set_alignment()</code></a>.
228
228
<td><p><span class="term"><em class="parameter"><code>xalign</code></em> :</span></p></td>
229
<td>location to store X alignment of <em class="parameter"><code>misc</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>
229
<td>location to store X alignment of <em class="parameter"><code>misc</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>
233
233
<td><p><span class="term"><em class="parameter"><code>yalign</code></em> :</span></p></td>
234
<td>location to store Y alignment of <em class="parameter"><code>misc</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>
234
<td>location to store Y alignment of <em class="parameter"><code>misc</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>
241
241
<div class="refsect2">
242
242
<a name="gtk-misc-get-padding"></a><h3>gtk_misc_get_padding ()</h3>
243
243
<pre class="programlisting"><span class="returnvalue">void</span> gtk_misc_get_padding (<em class="parameter"><code><a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> *misc</code></em>,
244
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *xpad</code></em>,
245
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *ypad</code></em>);</pre>
244
<em class="parameter"><code><span class="type">gint</span> *xpad</code></em>,
245
<em class="parameter"><code><span class="type">gint</span> *ypad</code></em>);</pre>
247
247
Gets the padding in the X and Y directions of the widget.
248
248
See <a class="link" href="GtkMisc.html#gtk-misc-set-padding" title="gtk_misc_set_padding ()"><code class="function">gtk_misc_set_padding()</code></a>.
259
259
<td><p><span class="term"><em class="parameter"><code>xpad</code></em> :</span></p></td>
260
260
<td>location to store padding in the X
261
direction, 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>
261
direction, 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>
265
265
<td><p><span class="term"><em class="parameter"><code>ypad</code></em> :</span></p></td>
266
266
<td>location to store padding in the Y
267
direction, 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>
267
direction, 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>
275
275
<a name="GtkMisc.property-details"></a><h2>Property Details</h2>
276
276
<div class="refsect2">
277
277
<a name="GtkMisc--xalign"></a><h3>The <code class="literal">"xalign"</code> property</h3>
278
<pre class="programlisting"> "xalign" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
278
<pre class="programlisting"> "xalign" <span class="type">gfloat</span> : Read / Write</pre>
279
279
<p>The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.</p>
280
280
<p>Allowed values: [0,1]</p>
281
281
<p>Default value: 0.5</p>
284
284
<div class="refsect2">
285
285
<a name="GtkMisc--xpad"></a><h3>The <code class="literal">"xpad"</code> property</h3>
286
<pre class="programlisting"> "xpad" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
286
<pre class="programlisting"> "xpad" <span class="type">gint</span> : Read / Write</pre>
287
287
<p>The amount of space to add on the left and right of the widget, in pixels.</p>
288
288
<p>Allowed values: >= 0</p>
289
289
<p>Default value: 0</p>
292
292
<div class="refsect2">
293
293
<a name="GtkMisc--yalign"></a><h3>The <code class="literal">"yalign"</code> property</h3>
294
<pre class="programlisting"> "yalign" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
294
<pre class="programlisting"> "yalign" <span class="type">gfloat</span> : Read / Write</pre>
295
295
<p>The vertical alignment, from 0 (top) to 1 (bottom).</p>
296
296
<p>Allowed values: [0,1]</p>
297
297
<p>Default value: 0.5</p>
300
300
<div class="refsect2">
301
301
<a name="GtkMisc--ypad"></a><h3>The <code class="literal">"ypad"</code> property</h3>
302
<pre class="programlisting"> "ypad" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
302
<pre class="programlisting"> "ypad" <span class="type">gint</span> : Read / Write</pre>
303
303
<p>The amount of space to add on the top and bottom of the widget, in pixels.</p>
304
304
<p>Allowed values: >= 0</p>
305
305
<p>Default value: 0</p>