~ubuntu-branches/debian/experimental/gtk+2.0/experimental

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Josselin Mouette
  • Date: 2011-09-02 17:17:47 UTC
  • mto: (72.4.15 sid)
  • mto: This revision was merged to the branch mainline in revision 102.
  • Revision ID: package-import@ubuntu.com-20110902171747-i8dr3czswn2sk7tu
Tags: upstream-2.24.6
Import upstream version 2.24.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 
49
49
                    <a class="link" href="GtkTextTagTable.html#GtkTextTagTable-struct" title="GtkTextTagTable">GtkTextTagTable</a>;
50
50
<span class="returnvalue">void</span>                (<a class="link" href="GtkTextTagTable.html#GtkTextTagTableForeach" title="GtkTextTagTableForeach ()">*GtkTextTagTableForeach</a>)           (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
51
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
 
51
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
52
52
<a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="returnvalue">GtkTextTagTable</span></a> *   <a class="link" href="GtkTextTagTable.html#gtk-text-tag-table-new" title="gtk_text_tag_table_new ()">gtk_text_tag_table_new</a>              (<em class="parameter"><code><span class="type">void</span></code></em>);
53
53
<span class="returnvalue">void</span>                <a class="link" href="GtkTextTagTable.html#gtk-text-tag-table-add" title="gtk_text_tag_table_add ()">gtk_text_tag_table_add</a>              (<em class="parameter"><code><a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *table</code></em>,
54
54
                                                         <em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>);
55
55
<span class="returnvalue">void</span>                <a class="link" href="GtkTextTagTable.html#gtk-text-tag-table-remove" title="gtk_text_tag_table_remove ()">gtk_text_tag_table_remove</a>           (<em class="parameter"><code><a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *table</code></em>,
56
56
                                                         <em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>);
57
57
<a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="returnvalue">GtkTextTag</span></a> *        <a class="link" href="GtkTextTagTable.html#gtk-text-tag-table-lookup" title="gtk_text_tag_table_lookup ()">gtk_text_tag_table_lookup</a>           (<em class="parameter"><code><a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *table</code></em>,
58
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
 
58
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
59
59
<span class="returnvalue">void</span>                <a class="link" href="GtkTextTagTable.html#gtk-text-tag-table-foreach" title="gtk_text_tag_table_foreach ()">gtk_text_tag_table_foreach</a>          (<em class="parameter"><code><a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *table</code></em>,
60
60
                                                         <em class="parameter"><code><a class="link" href="GtkTextTagTable.html#GtkTextTagTableForeach" title="GtkTextTagTableForeach ()"><span class="type">GtkTextTagTableForeach</span></a> func</code></em>,
61
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
62
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkTextTagTable.html#gtk-text-tag-table-get-size" title="gtk_text_tag_table_get_size ()">gtk_text_tag_table_get_size</a>         (<em class="parameter"><code><a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *table</code></em>);
 
61
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
 
62
<span class="returnvalue">gint</span>                <a class="link" href="GtkTextTagTable.html#gtk-text-tag-table-get-size" title="gtk_text_tag_table_get_size ()">gtk_text_tag_table_get_size</a>         (<em class="parameter"><code><a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *table</code></em>);
63
63
</pre>
64
64
</div>
65
65
<div class="refsect1">
66
66
<a name="GtkTextTagTable.object-hierarchy"></a><h2>Object Hierarchy</h2>
67
67
<pre class="synopsis">
68
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
68
  GObject
69
69
   +----GtkTextTagTable
70
70
</pre>
71
71
</div>
78
78
<div class="refsect1">
79
79
<a name="GtkTextTagTable.signals"></a><h2>Signals</h2>
80
80
<pre class="synopsis">
81
 
  "<a class="link" href="GtkTextTagTable.html#GtkTextTagTable-tag-added" title='The "tag-added" signal'>tag-added</a>"                                      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
82
 
  "<a class="link" href="GtkTextTagTable.html#GtkTextTagTable-tag-changed" title='The "tag-changed" signal'>tag-changed</a>"                                    : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
83
 
  "<a class="link" href="GtkTextTagTable.html#GtkTextTagTable-tag-removed" title='The "tag-removed" signal'>tag-removed</a>"                                    : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
81
  "<a class="link" href="GtkTextTagTable.html#GtkTextTagTable-tag-added" title='The "tag-added" signal'>tag-added</a>"                                      : <code class="literal">Run Last</code>
 
82
  "<a class="link" href="GtkTextTagTable.html#GtkTextTagTable-tag-changed" title='The "tag-changed" signal'>tag-changed</a>"                                    : <code class="literal">Run Last</code>
 
83
  "<a class="link" href="GtkTextTagTable.html#GtkTextTagTable-tag-removed" title='The "tag-removed" signal'>tag-removed</a>"                                    : <code class="literal">Run Last</code>
84
84
</pre>
85
85
</div>
86
86
<div class="refsect1">
100
100
attribute of a &lt;child&gt; element.
101
101
</p>
102
102
<div class="example">
103
 
<a name="id754670"></a><p class="title"><b>Example 20. A UI definition fragment specifying tags</b></p>
 
103
<a name="id718182"></a><p class="title"><b>Example 20. A UI definition fragment specifying tags</b></p>
104
104
<div class="example-contents">
105
105
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
106
106
    <tbody>
145
145
<div class="refsect2">
146
146
<a name="GtkTextTagTableForeach"></a><h3>GtkTextTagTableForeach ()</h3>
147
147
<pre class="programlisting"><span class="returnvalue">void</span>                (*GtkTextTagTableForeach)           (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
148
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
148
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
149
149
<p>
150
150
</p>
151
151
</div>
225
225
<div class="refsect2">
226
226
<a name="gtk-text-tag-table-lookup"></a><h3>gtk_text_tag_table_lookup ()</h3>
227
227
<pre class="programlisting"><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="returnvalue">GtkTextTag</span></a> *        gtk_text_tag_table_lookup           (<em class="parameter"><code><a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *table</code></em>,
228
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
 
228
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
229
229
<p>
230
230
Look up a named tag.
231
231
</p>
243
243
</tr>
244
244
<tr>
245
245
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
246
 
<td>The tag, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none by that name is in the table. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
246
<td>The tag, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if none by that name is in the table. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
247
247
</td>
248
248
</tr>
249
249
</tbody>
254
254
<a name="gtk-text-tag-table-foreach"></a><h3>gtk_text_tag_table_foreach ()</h3>
255
255
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_text_tag_table_foreach          (<em class="parameter"><code><a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *table</code></em>,
256
256
                                                         <em class="parameter"><code><a class="link" href="GtkTextTagTable.html#GtkTextTagTableForeach" title="GtkTextTagTableForeach ()"><span class="type">GtkTextTagTableForeach</span></a> func</code></em>,
257
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
257
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
258
258
<p>
259
259
Calls <em class="parameter"><code>func</code></em> on each tag in <em class="parameter"><code>table</code></em>, with user data <em class="parameter"><code>data</code></em>.
260
260
Note that the table may not be modified while iterating 
283
283
<hr>
284
284
<div class="refsect2">
285
285
<a name="gtk-text-tag-table-get-size"></a><h3>gtk_text_tag_table_get_size ()</h3>
286
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_text_tag_table_get_size         (<em class="parameter"><code><a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *table</code></em>);</pre>
 
286
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_text_tag_table_get_size         (<em class="parameter"><code><a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *table</code></em>);</pre>
287
287
<p>
288
288
Returns the size of the table (number of tags)
289
289
</p>
310
310
<a name="GtkTextTagTable-tag-added"></a><h3>The <code class="literal">"tag-added"</code> signal</h3>
311
311
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *texttagtable,
312
312
                                                        <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>      *arg1,
313
 
                                                        <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-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
 
313
                                                        <span class="type">gpointer</span>         user_data)         : <code class="literal">Run Last</code></pre>
314
314
<p>
315
315
</p>
316
316
<div class="variablelist"><table border="0">
332
332
<a name="GtkTextTagTable-tag-changed"></a><h3>The <code class="literal">"tag-changed"</code> signal</h3>
333
333
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *texttagtable,
334
334
                                                        <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>      *arg1,
335
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>         arg2,
336
 
                                                        <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-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
 
335
                                                        <span class="type">gboolean</span>         arg2,
 
336
                                                        <span class="type">gpointer</span>         user_data)         : <code class="literal">Run Last</code></pre>
337
337
<p>
338
338
</p>
339
339
<div class="variablelist"><table border="0">
355
355
<a name="GtkTextTagTable-tag-removed"></a><h3>The <code class="literal">"tag-removed"</code> signal</h3>
356
356
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> *texttagtable,
357
357
                                                        <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>      *arg1,
358
 
                                                        <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-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
 
358
                                                        <span class="type">gpointer</span>         user_data)         : <code class="literal">Run Last</code></pre>
359
359
<p>
360
360
</p>
361
361
<div class="variablelist"><table border="0">