~ubuntu-branches/ubuntu/vivid/glib2.0/vivid-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/GSimpleActionGroup.html

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2014-03-24 20:58:34 UTC
  • mfrom: (1.66.13)
  • Revision ID: package-import@ubuntu.com-20140324205834-8hsgok8k36ftocqa
Tags: 2.40.0-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
</div>
100
100
<div class="refsect1">
101
101
<a name="GSimpleActionGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
102
 
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
102
<pre class="screen">    <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
103
103
    <span class="lineart">╰──</span> GSimpleActionGroup
104
104
</pre>
105
105
</div>
138
138
<a name="g-simple-action-group-lookup"></a><h3>g_simple_action_group_lookup ()</h3>
139
139
<pre class="programlisting"><a class="link" href="GAction.html" title="GAction"><span class="returnvalue">GAction</span></a> *
140
140
g_simple_action_group_lookup (<em class="parameter"><code><a class="link" href="GSimpleActionGroup.html" title="GSimpleActionGroup"><span class="type">GSimpleActionGroup</span></a> *simple</code></em>,
141
 
                              <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *action_name</code></em>);</pre>
 
141
                              <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> *action_name</code></em>);</pre>
142
142
<div class="warning">
143
143
<p><code class="literal">g_simple_action_group_lookup</code> has been deprecated since version 2.38 and should not be used in newly-written code.</p>
144
144
<p>Use <a class="link" href="GActionMap.html#g-action-map-lookup-action" title="g_action_map_lookup_action ()"><code class="function">g_action_map_lookup_action()</code></a></p>
145
145
</div>
146
146
<p>Looks up the action with the name <em class="parameter"><code>action_name</code></em>
147
147
 in the group.</p>
148
 
<p>If no such action exists, returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
 
148
<p>If no such action exists, returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
149
149
<div class="refsect3">
150
150
<a name="id-1.4.22.6.9.3.8"></a><h4>Parameters</h4>
151
151
<div class="informaltable"><table width="100%" border="0">
170
170
</div>
171
171
<div class="refsect3">
172
172
<a name="id-1.4.22.6.9.3.9"></a><h4>Returns</h4>
173
 
<p> a <a class="link" href="GAction.html" title="GAction"><span class="type">GAction</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
 
173
<p> a <a class="link" href="GAction.html" title="GAction"><span class="type">GAction</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
174
174
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
175
175
</div>
176
176
<p class="since">Since 2.28</p>
220
220
<a name="g-simple-action-group-remove"></a><h3>g_simple_action_group_remove ()</h3>
221
221
<pre class="programlisting"><span class="returnvalue">void</span>
222
222
g_simple_action_group_remove (<em class="parameter"><code><a class="link" href="GSimpleActionGroup.html" title="GSimpleActionGroup"><span class="type">GSimpleActionGroup</span></a> *simple</code></em>,
223
 
                              <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *action_name</code></em>);</pre>
 
223
                              <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> *action_name</code></em>);</pre>
224
224
<div class="warning">
225
225
<p><code class="literal">g_simple_action_group_remove</code> has been deprecated since version 2.38 and should not be used in newly-written code.</p>
226
226
<p>Use <a class="link" href="GActionMap.html#g-action-map-remove-action" title="g_action_map_remove_action ()"><code class="function">g_action_map_remove_action()</code></a></p>
257
257
<pre class="programlisting"><span class="returnvalue">void</span>
258
258
g_simple_action_group_add_entries (<em class="parameter"><code><a class="link" href="GSimpleActionGroup.html" title="GSimpleActionGroup"><span class="type">GSimpleActionGroup</span></a> *simple</code></em>,
259
259
                                   <em class="parameter"><code>const <a class="link" href="GActionMap.html#GActionEntry" title="struct GActionEntry"><span class="type">GActionEntry</span></a> *entries</code></em>,
260
 
                                   <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_entries</code></em>,
261
 
                                   <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
260
                                   <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_entries</code></em>,
 
261
                                   <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
262
262
<div class="warning">
263
263
<p><code class="literal">g_simple_action_group_add_entries</code> has been deprecated since version 2.38 and should not be used in newly-written code.</p>
264
264
<p>Use <a class="link" href="GActionMap.html#g-action-map-add-action-entries" title="g_action_map_add_action_entries ()"><code class="function">g_action_map_add_action_entries()</code></a></p>