This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-gtkactiongroup.html is in python-gtk2-doc 2.24.0-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.ActionGroup</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkaction.html" title="gtk.Action"><link rel="next" href="class-gtkactivatable.html" title="gtk.Activatable"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.ActionGroup</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkaction.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkactivatable.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.ActionGroup"><a name="class-gtkactiongroup"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.ActionGroup</h2><p>gtk.ActionGroup — a group of actions (new in PyGTK 2.4)</p></div><div class="refsect1" title="Synopsis"><a name="id2898234"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.ActionGroup</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkactiongroup.html#constructor-gtkactiongroup" title="Constructor">gtk.ActionGroup</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--get-name" title="gtk.ActionGroup.get_name">get_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--get-sensitive" title="gtk.ActionGroup.get_sensitive">get_sensitive</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--set-sensitive" title="gtk.ActionGroup.set_sensitive">set_sensitive</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>sensitive</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--get-visible" title="gtk.ActionGroup.get_visible">get_visible</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--set-visible" title="gtk.ActionGroup.set_visible">set_visible</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>visible</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--get-action" title="gtk.ActionGroup.get_action">get_action</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>action_name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--list-actions" title="gtk.ActionGroup.list_actions">list_actions</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--add-action" title="gtk.ActionGroup.add_action">add_action</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>action</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--add-action-with-accel" title="gtk.ActionGroup.add_action_with_accel">add_action_with_accel</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>action</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>accelerator</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--remove-action" title="gtk.ActionGroup.remove_action">remove_action</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>action</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--add-actions" title="gtk.ActionGroup.add_actions">add_actions</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>entries</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--add-toggle-actions" title="gtk.ActionGroup.add_toggle_actions">add_toggle_actions</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>entries</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--add-radio-actions" title="gtk.ActionGroup.add_radio_actions">add_radio_actions</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>entries</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>value</code></strong></span><span class="initializer">=0</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>on_change</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--set-translation-domain" title="gtk.ActionGroup.set_translation_domain">set_translation_domain</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>domain</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--translate-string" title="gtk.ActionGroup.translate_string">translate_string</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>string</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3331589"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
  +-- <a class="link" href="class-gtkactiongroup.html" title="gtk.ActionGroup">gtk.ActionGroup</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3368742"></a><h2>Implemented Interfaces</h2><p>
			<a class="link" href="class-gtkactiongroup.html" title="gtk.ActionGroup"><code class="classname">gtk.ActionGroup</code></a>
			implements 
			<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
		</p></div><div class="refsect1" title="gtk.ActionGroup Properties"><a name="properties-gtkactiongroup"></a><h2>gtk.ActionGroup Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"name"</td><td valign="top">Read-Write</td><td valign="top">A name for the action group.</td></tr><tr valign="top"><td valign="top">"sensitive"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code>, the action group is
enabled.</td></tr><tr valign="top"><td valign="top">"visible"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code>, the action group is
visible.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.ActionGroup Signal Prototypes"><a name="signal-prototypes-gtkactiongroup"></a><h2>gtk.ActionGroup Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"<a class="link" href="class-gtkactiongroup.html#signal-gtkactiongroup--connect-proxy" title='The "connect-proxy" gtk.ActionGroup Signal'>connect-proxy</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>actiongroup</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>action</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>proxy</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkactiongroup.html#signal-gtkactiongroup--disconnect-proxy" title='The "disconnect-proxy" gtk.ActionGroup Signal'>disconnect-proxy</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>actiongroup</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>action</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>proxy</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkactiongroup.html#signal-gtkactiongroup--post-activate" title='The "post-activate" gtk.ActionGroup Signal'>post-activate</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>actiongroup</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>action</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkactiongroup.html#signal-gtkactiongroup--pre-activate" title='The "pre-activate" gtk.ActionGroup Signal'>pre-activate</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>actiongroup</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>action</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" title="Description"><a name="id3150053"></a><h2>Description</h2><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This object is available in PyGTK 2.4 and above.</p></div><p><a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a> objects
are organized into <a class="link" href="class-gtkactiongroup.html" title="gtk.ActionGroup"><code class="classname">gtk.ActionGroup</code></a>
objects. An action group is basically a map from names to <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a>
objects.</p><p>All actions that would make sense to use in a particular context
should be in a single action group. Multiple action groups may be used for a
particular user interface. In fact, it is expected that most nontrivial
applications will make use of multiple groups. For example, in an
application that can edit multiple documents, there could be one group
holding global actions (e.g. quit, about, new), and one group per document
holding actions that act on that document (e.g. save, cut/copy/paste,
etc). Each window's menus would be constructed from a combination of the two
action groups.</p><p>Accelerators are handled by the GTK+ accelerator map. All actions
are assigned an accelerator path (which normally has the form
"&lt;Actions&gt;/group-name/action-name") and a shortcut is associated with
this accelerator path. All menuitems and toolitems take on this accelerator
path. The GTK+ accelerator map code makes sure that the correct shortcut is
displayed next to the menu item.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkactiongroup"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.ActionGroup</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>name</code></strong> :</span></p></td><td>the name of the action group.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the new <a class="link" href="class-gtkactiongroup.html" title="gtk.ActionGroup"><code class="classname">gtk.ActionGroup</code></a></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This constructor is available in PyGTK 2.4 and above.</p></div><p>Creates a new <a class="link" href="class-gtkactiongroup.html" title="gtk.ActionGroup"><code class="classname">gtk.ActionGroup</code></a>
object with the name specified by <em class="parameter"><code>name</code></em>. The name of
the action group is used when associating keybindings with the
actions.</p></div><div class="refsect1" title="Methods"><a name="id2954160"></a><h2>Methods</h2><div class="refsect2" title="gtk.ActionGroup.get_name"><a name="method-gtkactiongroup--get-name"></a><h3>gtk.ActionGroup.get_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_name</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the name of the action
group.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">get_name</code>() method returns the value
of the "name" property that contains the name of the action group.</p></div><div class="refsect2" title="gtk.ActionGroup.get_sensitive"><a name="method-gtkactiongroup--get-sensitive"></a><h3>gtk.ActionGroup.get_sensitive</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_sensitive</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the group is
sensitive.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">get_sensitive</code>() method returns the
value of the "sensitive" property. If "sensitive" is <code class="literal">True</code>
the group is enabled. The constituent actions can only be logically
sensitive (see the <a class="link" href="class-gtkaction.html#method-gtkaction--is-sensitive" title="gtk.Action.is_sensitive"><code class="methodname">gtk.Action.is_sensitive()</code></a>
method) if they are sensitive (see the <a class="link" href="class-gtkaction.html#method-gtkaction--get-sensitive" title="gtk.Action.get_sensitive"><code class="methodname">gtk.Action.get_sensitive()</code></a>
method) and their group is sensitive.</p></div><div class="refsect2" title="gtk.ActionGroup.set_sensitive"><a name="method-gtkactiongroup--set-sensitive"></a><h3>gtk.ActionGroup.set_sensitive</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_sensitive</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>sensitive</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>sensitive</code></strong> :</span></p></td><td>if <code class="literal">True</code>, the group is
enabled</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">set_sensitive</code>() method sets the
      "sensitive" property to the value of
      <em class="parameter"><code>sensitive</code></em>. If <em class="parameter"><code>sensitive</code></em>
      is <code class="literal">True</code>, the <a class="link" href="class-gtkactiongroup.html" title="gtk.ActionGroup"><code class="classname">gtk.ActionGroup</code></a>
      is enabled.</p></div><div class="refsect2" title="gtk.ActionGroup.get_visible"><a name="method-gtkactiongroup--get-visible"></a><h3>gtk.ActionGroup.get_visible</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_visible</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if the group is
visible.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">get_visible</code>() method returns the
value of the "visible" property. If "visible" is <code class="literal">True</code>,
the group is visible. The constituent actions can only be logically visible
(see the <a class="link" href="class-gtkaction.html#method-gtkaction--is-visible" title="gtk.Action.is_visible"><code class="methodname">gtk.Action.is_visible()</code></a>
method) if they are visible (see the <a class="link" href="class-gtkaction.html#method-gtkaction--get-visible" title="gtk.Action.get_visible"><code class="methodname">gtk.Action.get_visible()</code></a>
method) and their group is visible.</p></div><div class="refsect2" title="gtk.ActionGroup.set_visible"><a name="method-gtkactiongroup--set-visible"></a><h3>gtk.ActionGroup.set_visible</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_visible</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>visible</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>visible</code></strong> :</span></p></td><td>if <code class="literal">True</code>, the group will be
visible</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">set_visible</code>() method sets the
"visible" property to the value of <em class="parameter"><code>visible</code></em>. If
<em class="parameter"><code>visible</code></em> is <code class="literal">True</code> the <a class="link" href="class-gtkactiongroup.html" title="gtk.ActionGroup"><code class="classname">gtk.ActionGroup</code></a>
will be visible.</p></div><div class="refsect2" title="gtk.ActionGroup.get_action"><a name="method-gtkactiongroup--get-action"></a><h3>gtk.ActionGroup.get_action</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_action</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>action_name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>action_name</code></strong> :</span></p></td><td>the name of the action</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the action, or <code class="literal">None</code> if no
action with that name exists.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">get_action</code>() method retrieves the
action in the action group with the name specified by
<em class="parameter"><code>action_name</code></em>.</p></div><div class="refsect2" title="gtk.ActionGroup.list_actions"><a name="method-gtkactiongroup--list-actions"></a><h3>gtk.ActionGroup.list_actions</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">list_actions</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a list of the action objects in the action
group</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">list_action</code>() method returns a list
containing the <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a> objects
in the action group.</p></div><div class="refsect2" title="gtk.ActionGroup.add_action"><a name="method-gtkactiongroup--add-action"></a><h3>gtk.ActionGroup.add_action</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">add_action</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>action</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>action</code></strong> :</span></p></td><td>an action</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">add_action</code>() method adds the <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a> specified
by <em class="parameter"><code>action</code></em> to the action group.</p></div><div class="refsect2" title="gtk.ActionGroup.add_action_with_accel"><a name="method-gtkactiongroup--add-action-with-accel"></a><h3>gtk.ActionGroup.add_action_with_accel</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">add_action_with_accel</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>action</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>accelerator</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>action</code></strong> :</span></p></td><td>the action to add</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>accelerator</code></strong> :</span></p></td><td>the accelerator for the action, in the format
	  understood by the <a class="link" href="class-gtkaccelgroup.html#function-gtk--accelerator-parse" title="gtk.accelerator_parse"><code class="function">gtk.accelerator_parse</code>()</a>
	  function, or <code class="literal">None</code> to use the stock
	  accelerator</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">add_action_with_accel</code>() method adds
a <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a>
specified by <em class="parameter"><code>action</code></em> to the action group and sets up
the accelerator specified by <em class="parameter"><code>accelerator</code></em>.</p><p>If <em class="parameter"><code>accelerator</code></em> is
<code class="literal">None</code>, this method attempts to use the accelerator
associated with the "stock_id" property of the <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a>.</p><p>Accel paths are set to
<code class="literal">&lt;Actions&gt;/<em class="replaceable"><code>group-name</code></em>/<em class="replaceable"><code>action-name</code></em></code>.</p></div><div class="refsect2" title="gtk.ActionGroup.remove_action"><a name="method-gtkactiongroup--remove-action"></a><h3>gtk.ActionGroup.remove_action</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">remove_action</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>action</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>action</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">remove_action</code>() method removes the
<a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a>
specified by <em class="parameter"><code>action</code></em> from the action group.</p></div><div class="refsect2" title="gtk.ActionGroup.add_actions"><a name="method-gtkactiongroup--add-actions"></a><h3>gtk.ActionGroup.add_actions</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">add_actions</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>entries</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>entries</code></strong> :</span></p></td><td>a list or tuple of action
descriptions</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>user_data</code></strong> :</span></p></td><td>data to pass to the action
callbacks</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">add_actions</code>() method is a
convenience method that creates a number of <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a> objects
based on the information in the list of action entry tuples contained in
<em class="parameter"><code>entries</code></em> and adds them to the action group. The entry
tuples can vary in size from one to six items with the following
information:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">The name of the action. Must be specified.</li><li class="listitem">The stock id for the action. Optional with a default
value of <code class="literal">None</code> if a label is specified.</li><li class="listitem">The label for the action. This field should typically be
marked for translation, see the <a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--set-translation-domain" title="gtk.ActionGroup.set_translation_domain"><code class="methodname">set_translation_domain</code>()</a>
method. Optional with a default value of <code class="literal">None</code> if a stock
id is specified.</li><li class="listitem">The accelerator for the action, in the format understood by
the <a class="link" href="class-gtkaccelgroup.html#function-gtk--accelerator-parse" title="gtk.accelerator_parse"><code class="function">gtk.accelerator_parse</code>()</a>
function. Optional with a default value of
<code class="literal">None</code>.</li><li class="listitem">The tooltip for the action. This field should typically be
marked for translation, see the <a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--set-translation-domain" title="gtk.ActionGroup.set_translation_domain"><code class="methodname">set_translation_domain</code>()</a>
method. Optional with a default value of <code class="literal">None</code>.</li><li class="listitem">The callback function invoked when the action is
activated. Optional with a default value of
<code class="literal">None</code>.</li></ul></div><p>The "activate" signals of the actions are connected to the
callbacks and their accel paths are set to
<code class="literal">&lt;Actions&gt;/<em class="replaceable"><code>group-name</code></em>/<em class="replaceable"><code>action-name</code></em></code>.</p></div><div class="refsect2" title="gtk.ActionGroup.add_toggle_actions"><a name="method-gtkactiongroup--add-toggle-actions"></a><h3>gtk.ActionGroup.add_toggle_actions</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">add_toggle_actions</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>entries</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>entries</code></strong> :</span></p></td><td>a list or tuple of toggle action entry
tuples</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>user_data</code></strong> :</span></p></td><td>data to pass to the action
callbacks</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">add_toggle_actions</code>() method is a
convenience method that creates a number of <a class="link" href="class-gtktoggleaction.html" title="gtk.ToggleAction"><code class="classname">gtk.ToggleAction</code></a>
objects based on the information in the list of action entry tuples
contained in <em class="parameter"><code>entries</code></em> and adds them to the action
group. The toggle action entry tuples can vary in size from one to seven items
with the following information:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">The name of the action. Must be specified.</li><li class="listitem">The stock id for the action. Optional with a default
value of <code class="literal">None</code> if a label is specified.</li><li class="listitem">The label for the action. This field should typically be
marked for translation, see the <a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--set-translation-domain" title="gtk.ActionGroup.set_translation_domain"><code class="methodname">set_translation_domain</code>()</a>
method. Optional with a default value of <code class="literal">None</code> if a stock
id is specified.</li><li class="listitem">The accelerator for the action, in the format understood by
the <a class="link" href="class-gtkaccelgroup.html#function-gtk--accelerator-parse" title="gtk.accelerator_parse"><code class="function">gtk.accelerator_parse</code>()</a>
function. Optional with a default value of
<code class="literal">None</code>.</li><li class="listitem">The tooltip for the action. This field should typically be
marked for translation, see the <a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--set-translation-domain" title="gtk.ActionGroup.set_translation_domain"><code class="methodname">set_translation_domain</code>()</a>
method. Optional with a default value of <code class="literal">None</code>.</li><li class="listitem">The callback function invoked when the action is
activated. Optional with a default value of
<code class="literal">None</code>.</li><li class="listitem">A flag indicating whether the toggle action is
active. Optional with a default value of <code class="literal">False</code>.</li></ul></div><p>The "activate" signals of the actions are connected to the
callbacks and their accel paths are set to
<code class="literal">&lt;Actions&gt;/<em class="replaceable"><code>group-name</code></em>/<em class="replaceable"><code>action-name</code></em></code>.</p></div><div class="refsect2" title="gtk.ActionGroup.add_radio_actions"><a name="method-gtkactiongroup--add-radio-actions"></a><h3>gtk.ActionGroup.add_radio_actions</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">add_radio_actions</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>entries</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>value</code></strong></span><span class="initializer">=0</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>on_change</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>user_data</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>entries</code></strong> :</span></p></td><td>a list or tuple of radio action entry
tuples</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>value</code></strong> :</span></p></td><td>the value of the radio action to set
active</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>on_change</code></strong> :</span></p></td><td>a callback to connect to the "changed" signal
of the first radio action</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>user_data</code></strong> :</span></p></td><td>data to pass to the
<em class="parameter"><code>on_change</code></em> callback</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">add_radio_actions</code>() method is a
convenience method that creates a number of <a class="link" href="class-gtkradioaction.html" title="gtk.RadioAction"><code class="classname">gtk.RadioAction</code></a>
objects based on the information in the list of action entry tuples
contained in <em class="parameter"><code>entries</code></em> and adds them to the action
group. The entry tuples can vary in size from one to six items with the
following information:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">The name of the action. Must be specified.</li><li class="listitem">The stock id for the action. Optional with a default
value of <code class="literal">None</code> if a label is specified.</li><li class="listitem">The label for the action. This field should typically be
marked for translation, see the <a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--set-translation-domain" title="gtk.ActionGroup.set_translation_domain"><code class="methodname">set_translation_domain</code>()</a>
method. Optional with a default value of <code class="literal">None</code> if a stock
id is specified.</li><li class="listitem">The accelerator for the action, in the format understood by
the <a class="link" href="class-gtkaccelgroup.html#function-gtk--accelerator-parse" title="gtk.accelerator_parse"><code class="function">gtk.accelerator_parse</code>()</a>
function. Optional with a default value of
<code class="literal">None</code>.</li><li class="listitem">The tooltip for the action. This field should typically be
marked for translation, see the <a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--set-translation-domain" title="gtk.ActionGroup.set_translation_domain"><code class="methodname">set_translation_domain</code>()</a>
method. Optional with a default value of <code class="literal">None</code>.</li><li class="listitem">The value to set on the radio action. Optional with a
default value of <code class="literal">0</code>. Should be specified in
applications.</li></ul></div><p>The <em class="parameter"><code>value</code></em> parameter specifies the radio
action that should be set active. The "changed" signal of the first radio
action is connected to the <em class="parameter"><code>on_change</code></em> callback (if
specified and not <code class="literal">None</code>) and the accel paths of the
actions are set to
<code class="literal">&lt;Actions&gt;/<em class="replaceable"><code>group-name</code></em>/<em class="replaceable"><code>action-name</code></em></code>.</p></div><div class="refsect2" title="gtk.ActionGroup.set_translation_domain"><a name="method-gtkactiongroup--set-translation-domain"></a><h3>gtk.ActionGroup.set_translation_domain</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_translation_domain</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>domain</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>domain</code></strong> :</span></p></td><td>the translation domain to use for
<code class="methodname">dgettext()</code> calls</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">set_translation_domain</code>() method
sets the translation domain to the string specified by
<em class="parameter"><code>domain</code></em> and uses <code class="methodname">dgettext()</code>
for translating the <em class="parameter"><code>label</code></em> and
<em class="parameter"><code>tooltip</code></em> strings of the actions added by the <a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--add-actions" title="gtk.ActionGroup.add_actions"><code class="methodname">add_actions</code>()</a>,
<a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--add-toggle-actions" title="gtk.ActionGroup.add_toggle_actions"><code class="methodname">add_toggle_actions</code>()</a>
and <a class="link" href="class-gtkactiongroup.html#method-gtkactiongroup--add-radio-actions" title="gtk.ActionGroup.add_radio_actions"><code class="methodname">add_radio_actions</code>()</a>
methods.</p></div><div class="refsect2" title="gtk.ActionGroup.translate_string"><a name="method-gtkactiongroup--translate-string"></a><h3>gtk.ActionGroup.translate_string</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">translate_string</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>string</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>string</code></strong> :</span></p></td><td>the string to be translated</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the translation of
<em class="parameter"><code>string</code></em></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.6 and above.</p></div><p>The <code class="methodname">translate_string</code>() method
translates the string specified by <em class="parameter"><code>string</code></em> using the
specified <code class="function">translate_func</code>(). This is mainly intended for
language bindings.</p></div></div><div class="refsect1" title="Signals"><a name="id3180008"></a><h2>Signals</h2><div class="refsect2" title='The "connect-proxy" gtk.ActionGroup Signal'><a name="signal-gtkactiongroup--connect-proxy"></a><h3>The "connect-proxy" gtk.ActionGroup Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>actiongroup</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>action</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>proxy</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>actiongroup</code></em> :</span></p></td><td>the actiongroup that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td><td>the action that is associated with
<em class="parameter"><code>proxy</code></em></td></tr><tr><td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td><td>the proxy widget associated with
<em class="parameter"><code>action</code></em></td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This signal is available in PyGTK 2.4 and above.</p></div><p>The "connect-proxy" signal is emitted when the widget specified
by <em class="parameter"><code>proxy</code></em> is connected to the <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a> specified
by <em class="parameter"><code>action</code></em>.</p></div><div class="refsect2" title='The "disconnect-proxy" gtk.ActionGroup Signal'><a name="signal-gtkactiongroup--disconnect-proxy"></a><h3>The "disconnect-proxy" gtk.ActionGroup Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>actiongroup</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>action</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>proxy</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>actiongroup</code></em> :</span></p></td><td>the actiongroup that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td><td>the action that is associated with
<em class="parameter"><code>proxy</code></em></td></tr><tr><td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td><td>the proxy widget associated with
<em class="parameter"><code>action</code></em></td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This signal is available in PyGTK 2.4 and above.</p></div><p>The "disconnect-proxy" signal is emitted when the widget
specified by <em class="parameter"><code>proxy</code></em> is disconnected from the <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a> specified
by <em class="parameter"><code>action</code></em>.</p></div><div class="refsect2" title='The "post-activate" gtk.ActionGroup Signal'><a name="signal-gtkactiongroup--post-activate"></a><h3>The "post-activate" gtk.ActionGroup Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>actiongroup</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>action</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>actiongroup</code></em> :</span></p></td><td>the actiongroup that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td><td>the action that is being
activated</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This signal is available in PyGTK 2.4 and above.</p></div><p>The "post-activate" signal is emitted after the <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a> specified
by <em class="parameter"><code>action</code></em> has been activated.</p></div><div class="refsect2" title='The "pre-activate" gtk.ActionGroup Signal'><a name="signal-gtkactiongroup--pre-activate"></a><h3>The "pre-activate" gtk.ActionGroup Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>actiongroup</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>action</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>actiongroup</code></em> :</span></p></td><td>the actiongroup that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td><td>the action that is being
activated</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This signal is available in PyGTK 2.4 and above.</p></div><p>The "pre-activate" signal is emitted before the <a class="link" href="class-gtkaction.html" title="gtk.Action"><code class="classname">gtk.Action</code></a> specified
by <em class="parameter"><code>action</code></em> is activated.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkaction.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkactivatable.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.Action </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.Activatable</td></tr></table></div></body></html>