~ubuntu-branches/ubuntu/precise/gtk+2.0/precise-updates

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkSizeGroup.html

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-12-01 11:40:06 UTC
  • mfrom: (1.14.11)
  • Revision ID: package-import@ubuntu.com-20111201114006-nrmf6qu3pg512veo
Tags: 2.24.8-0ubuntu1
* New upstream release 
  - gtkfilechooser should be more robust to malformed URIs
    in .gtk-bookmarks (LP: #189494)
* debian/patches/010_make_bg_changes_queue_repaint.patch
  - dropped it introduces performance regressions in some gtk2 
    apps (LP: #889019)
* 101_filechooser.patch, 000git_file_chooser.patch: dropped, upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="MiscObjects.html" title="Miscellaneous">
9
9
<link rel="prev" href="GtkIMMulticontext.html" title="GtkIMMulticontext">
10
10
<link rel="next" href="GtkTooltip.html" title="GtkTooltip">
11
 
<meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
53
53
                                                         <em class="parameter"><code><a class="link" href="GtkSizeGroup.html#GtkSizeGroupMode" title="enum GtkSizeGroupMode"><span class="type">GtkSizeGroupMode</span></a> mode</code></em>);
54
54
<a class="link" href="GtkSizeGroup.html#GtkSizeGroupMode" title="enum GtkSizeGroupMode"><span class="returnvalue">GtkSizeGroupMode</span></a>    <a class="link" href="GtkSizeGroup.html#gtk-size-group-get-mode" title="gtk_size_group_get_mode ()">gtk_size_group_get_mode</a>             (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>);
55
55
<span class="returnvalue">void</span>                <a class="link" href="GtkSizeGroup.html#gtk-size-group-set-ignore-hidden" title="gtk_size_group_set_ignore_hidden ()">gtk_size_group_set_ignore_hidden</a>    (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>,
56
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> ignore_hidden</code></em>);
57
 
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSizeGroup.html#gtk-size-group-get-ignore-hidden" title="gtk_size_group_get_ignore_hidden ()">gtk_size_group_get_ignore_hidden</a>    (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>);
 
56
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> ignore_hidden</code></em>);
 
57
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSizeGroup.html#gtk-size-group-get-ignore-hidden" title="gtk_size_group_get_ignore_hidden ()">gtk_size_group_get_ignore_hidden</a>    (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>);
58
58
<span class="returnvalue">void</span>                <a class="link" href="GtkSizeGroup.html#gtk-size-group-add-widget" title="gtk_size_group_add_widget ()">gtk_size_group_add_widget</a>           (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>,
59
59
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
60
60
<span class="returnvalue">void</span>                <a class="link" href="GtkSizeGroup.html#gtk-size-group-remove-widget" title="gtk_size_group_remove_widget ()">gtk_size_group_remove_widget</a>        (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>,
61
61
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
62
 
<span class="returnvalue">GSList</span> *            <a class="link" href="GtkSizeGroup.html#gtk-size-group-get-widgets" title="gtk_size_group_get_widgets ()">gtk_size_group_get_widgets</a>          (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>);
 
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            <a class="link" href="GtkSizeGroup.html#gtk-size-group-get-widgets" title="gtk_size_group_get_widgets ()">gtk_size_group_get_widgets</a>          (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>);
63
63
</pre>
64
64
</div>
65
65
<div class="refsect1">
66
66
<a name="GtkSizeGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
67
67
<pre class="synopsis">
68
 
  GObject
 
68
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
69
69
   +----GtkSizeGroup
70
70
</pre>
71
71
</div>
78
78
<div class="refsect1">
79
79
<a name="GtkSizeGroup.properties"></a><h2>Properties</h2>
80
80
<pre class="synopsis">
81
 
  "<a class="link" href="GtkSizeGroup.html#GtkSizeGroup--ignore-hidden" title='The "ignore-hidden" property'>ignore-hidden</a>"            <span class="type">gboolean</span>              : Read / Write
 
81
  "<a class="link" href="GtkSizeGroup.html#GtkSizeGroup--ignore-hidden" title='The "ignore-hidden" property'>ignore-hidden</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
82
82
  "<a class="link" href="GtkSizeGroup.html#GtkSizeGroup--mode" title='The "mode" property'>mode</a>"                     <a class="link" href="GtkSizeGroup.html#GtkSizeGroupMode" title="enum GtkSizeGroupMode"><span class="type">GtkSizeGroupMode</span></a>      : Read / Write
83
83
</pre>
84
84
</div>
108
108
<p>
109
109
<a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> objects are referenced by each widget in the size group,
110
110
so once you have added all widgets to a <a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>, you can drop
111
 
the initial reference to the size group with <code class="function">g_object_unref()</code>. If the
 
111
the initial reference to the size group with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. If the
112
112
widgets in the size group are subsequently destroyed, then they will
113
113
be removed from the size group and drop their references on the size
114
114
group; when all widgets have been removed, the size group will be
134
134
of the size group. The name attribute gives the id of the widget.
135
135
</p>
136
136
<div class="example">
137
 
<a name="id1207086"></a><p class="title"><b>Example 54. A UI definition fragment with GtkSizeGroup</b></p>
 
137
<a name="id1258228"></a><p class="title"><b>Example 54. A UI definition fragment with GtkSizeGroup</b></p>
138
138
<div class="example-contents">
139
139
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
140
140
    <tbody>
286
286
<div class="refsect2">
287
287
<a name="gtk-size-group-set-ignore-hidden"></a><h3>gtk_size_group_set_ignore_hidden ()</h3>
288
288
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_size_group_set_ignore_hidden    (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>,
289
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> ignore_hidden</code></em>);</pre>
 
289
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> ignore_hidden</code></em>);</pre>
290
290
<p>
291
291
Sets whether unmapped widgets should be ignored when
292
292
calculating the size.
311
311
<hr>
312
312
<div class="refsect2">
313
313
<a name="gtk-size-group-get-ignore-hidden"></a><h3>gtk_size_group_get_ignore_hidden ()</h3>
314
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_size_group_get_ignore_hidden    (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>);</pre>
 
314
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_size_group_get_ignore_hidden    (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>);</pre>
315
315
<p>
316
316
Returns if invisible widgets are ignored when calculating the size.
317
317
</p>
326
326
<tr>
327
327
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
328
328
<td>
329
 
<code class="literal">TRUE</code> if invisible widgets are ignored.</td>
 
329
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if invisible widgets are ignored.</td>
330
330
</tr>
331
331
</tbody>
332
332
</table></div>
389
389
<hr>
390
390
<div class="refsect2">
391
391
<a name="gtk-size-group-get-widgets"></a><h3>gtk_size_group_get_widgets ()</h3>
392
 
<pre class="programlisting"><span class="returnvalue">GSList</span> *            gtk_size_group_get_widgets          (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>);</pre>
 
392
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            gtk_size_group_get_widgets          (<em class="parameter"><code><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> *size_group</code></em>);</pre>
393
393
<p>
394
394
Returns the list of widgets associated with <em class="parameter"><code>size_group</code></em>.
395
395
</p>
403
403
</tr>
404
404
<tr>
405
405
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
406
 
<td>a <span class="type">GSList</span> of
 
406
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> of
407
407
widgets. The list is owned by GTK+ and should not be modified. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkWidget][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
408
408
</td>
409
409
</tr>
416
416
<a name="GtkSizeGroup.property-details"></a><h2>Property Details</h2>
417
417
<div class="refsect2">
418
418
<a name="GtkSizeGroup--ignore-hidden"></a><h3>The <code class="literal">"ignore-hidden"</code> property</h3>
419
 
<pre class="programlisting">  "ignore-hidden"            <span class="type">gboolean</span>              : Read / Write</pre>
 
419
<pre class="programlisting">  "ignore-hidden"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
420
420
<p>
421
 
If <code class="literal">TRUE</code>, unmapped widgets are ignored when determining
 
421
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, unmapped widgets are ignored when determining
422
422
the size of the group.
423
423
</p>
424
424
<p>Default value: FALSE</p>
435
435
</div>
436
436
<div class="footer">
437
437
<hr>
438
 
          Generated by GTK-Doc V1.17.1</div>
 
438
          Generated by GTK-Doc V1.17</div>
439
439
</body>
440
440
</html>
 
 
b'\\ No newline at end of file'