1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
<title>glibmm: Gio::RemoteActionGroup Class Reference</title>
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
10
<!-- Generated by Doxygen 1.7.4 -->
13
<table cellspacing="0" cellpadding="0">
15
<tr style="height: 56px;">
16
<td style="padding-left: 0.5em;">
17
<div id="projectname">glibmm <span id="projectnumber">2.31.18</span></div>
23
<div id="navrow1" class="tabs">
25
<li><a href="index.html"><span>Main Page</span></a></li>
26
<li><a href="pages.html"><span>Related Pages</span></a></li>
27
<li><a href="modules.html"><span>Modules</span></a></li>
28
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
29
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
30
<li><a href="examples.html"><span>Examples</span></a></li>
33
<div id="navrow2" class="tabs2">
35
<li><a href="annotated.html"><span>Class List</span></a></li>
36
<li><a href="classes.html"><span>Class Index</span></a></li>
37
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
38
<li><a href="functions.html"><span>Class Members</span></a></li>
41
<div id="nav-path" class="navpath">
43
<li class="navelem"><a class="el" href="namespaceGio.html">Gio</a> </li>
44
<li class="navelem"><a class="el" href="classGio_1_1RemoteActionGroup.html">RemoteActionGroup</a> </li>
50
<a href="#pub-methods">Public Member Functions</a> |
51
<a href="#pub-static-methods">Static Public Member Functions</a> |
52
<a href="#related">Related Functions</a> </div>
53
<div class="headertitle">
54
<div class="title">Gio::RemoteActionGroup Class Reference</div> </div>
56
<div class="contents">
57
<!-- doxytag: class="Gio::RemoteActionGroup" --><!-- doxytag: inherits="Glib::Interface" -->
58
<p>TODO (When the C API docs is available). <a href="classGio_1_1RemoteActionGroup.html#details">More...</a></p>
60
<p><code>#include <giomm/remoteactiongroup.h></code></p>
61
<div class="dynheader">
62
Inheritance diagram for Gio::RemoteActionGroup:</div>
63
<div class="dyncontent">
64
<div class="center"><img src="classGio_1_1RemoteActionGroup__inherit__graph.png" border="0" usemap="#Gio_1_1RemoteActionGroup_inherit__map" alt="Inheritance graph"/></div>
65
<map name="Gio_1_1RemoteActionGroup_inherit__map" id="Gio_1_1RemoteActionGroup_inherit__map">
66
<area shape="rect" id="node9" href="classGio_1_1DBus_1_1ActionGroup.html" title="TODO (When there is documentation available in the C API)." alt="" coords="9,315,180,344"/><area shape="rect" id="node2" href="classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="40,160,149,189"/><area shape="rect" id="node4" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="32,83,157,112"/><area shape="rect" id="node6" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="37,5,152,35"/></map>
67
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
69
<p><a href="classGio_1_1RemoteActionGroup-members.html">List of all members.</a></p>
70
<table class="memberdecls">
71
<tr><td colspan="2"><h2><a name="pub-methods"></a>
72
Public Member Functions</h2></td></tr>
73
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1RemoteActionGroup.html#a88f54ea1ece68f212f8cac51b37d616e">~RemoteActionGroup</a> ()</td></tr>
74
<tr><td class="memItemLeft" align="right" valign="top">GRemoteActionGroup* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1RemoteActionGroup.html#aa9e53402a7b3aaf8b27bc344cbc7e769">gobj</a> ()</td></tr>
75
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aa9e53402a7b3aaf8b27bc344cbc7e769"></a><br/></td></tr>
76
<tr><td class="memItemLeft" align="right" valign="top">const GRemoteActionGroup* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1RemoteActionGroup.html#a33c88565858f3ff88680a2168b6fb1d4">gobj</a> () const </td></tr>
77
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a33c88565858f3ff88680a2168b6fb1d4"></a><br/></td></tr>
78
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1RemoteActionGroup.html#a8e7d6bd31fe683dfd391911c0739f635">activate_action</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& action_name, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& parameter, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& platform_data)</td></tr>
79
<tr><td class="mdescLeft"> </td><td class="mdescRight">Activates the remote action. <a href="#a8e7d6bd31fe683dfd391911c0739f635"></a><br/></td></tr>
80
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1RemoteActionGroup.html#a50b57a393496744613ddb20ad951e510">change_action_state</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& action_name, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01618.html#ga1c9e781d8d15a3814a601f471797c825">value</a>, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& platform_data)</td></tr>
81
<tr><td class="mdescLeft"> </td><td class="mdescRight">Changes the state of a remote action. <a href="#a50b57a393496744613ddb20ad951e510"></a><br/></td></tr>
82
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1RemoteActionGroup.html#a03466a5b72dad8a24ded1b5b8825e5a5">activate_action_vfunc</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& action_name, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& parameter, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& platform_data)</td></tr>
83
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1RemoteActionGroup.html#a54a92949ab973e6589b6552a1c9f6542">change_action_state_vfunc</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& action_name, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01618.html#ga1c9e781d8d15a3814a601f471797c825">value</a>, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& platform_data)</td></tr>
84
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
85
Static Public Member Functions</h2></td></tr>
86
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1RemoteActionGroup.html#ad0514a7d8bbf26ed0221d4a1e5eaf68f">add_interface</a> (GType gtype_implementer)</td></tr>
87
<tr><td colspan="2"><h2><a name="related"></a>
88
Related Functions</h2></td></tr>
89
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
91
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
92
< <a class="el" href="classGio_1_1RemoteActionGroup.html">Gio::RemoteActionGroup</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1RemoteActionGroup.html#a236fcb0eaef59a2d9231d05573a8f7bb">wrap</a> (GRemoteActionGroup* object, bool take_copy=false)</td></tr>
93
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a236fcb0eaef59a2d9231d05573a8f7bb"></a><br/></td></tr>
95
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
96
<div class="textblock"><p>TODO (When the C API docs is available). </p>
97
</div><hr/><h2>Constructor & Destructor Documentation</h2>
98
<a class="anchor" id="a88f54ea1ece68f212f8cac51b37d616e"></a><!-- doxytag: member="Gio::RemoteActionGroup::~RemoteActionGroup" ref="a88f54ea1ece68f212f8cac51b37d616e" args="()" -->
100
<div class="memproto">
101
<table class="memname">
103
<td class="memname">virtual Gio::RemoteActionGroup::~RemoteActionGroup </td>
105
<td class="paramname"></td><td>)</td>
106
<td><code> [virtual]</code></td>
114
<hr/><h2>Member Function Documentation</h2>
115
<a class="anchor" id="a8e7d6bd31fe683dfd391911c0739f635"></a><!-- doxytag: member="Gio::RemoteActionGroup::activate_action" ref="a8e7d6bd31fe683dfd391911c0739f635" args="(const Glib::ustring &action_name, const Glib::VariantBase &parameter, const Glib::VariantBase &platform_data)" -->
116
<div class="memitem">
117
<div class="memproto">
118
<table class="memname">
120
<td class="memname">void Gio::RemoteActionGroup::activate_action </td>
122
<td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td>
123
<td class="paramname"><em>action_name</em>, </td>
126
<td class="paramkey"></td>
128
<td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& </td>
129
<td class="paramname"><em>parameter</em>, </td>
132
<td class="paramkey"></td>
134
<td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& </td>
135
<td class="paramname"><em>platform_data</em> </td>
146
<p>Activates the remote action. </p>
147
<p>This is the same as g_action_group_activate_action() except that it allows for provision of "platform data" to be sent along with the activation request. This typically contains details such as the user interaction timestamp or startup notification information.</p>
148
<p><em>platform_data</em> must be non-<code>0</code> and must have the type VARIANT_TYPE_VARDICT. If it is floating, it will be consumed.</p>
149
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000015">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
150
<dl><dt><b>Parameters:</b></dt><dd>
151
<table class="params">
152
<tr><td class="paramname">action_name</td><td>The name of the action to activate. </td></tr>
153
<tr><td class="paramname">parameter</td><td>The optional parameter to the activation. </td></tr>
154
<tr><td class="paramname">platform_data</td><td>The platform data to send. </td></tr>
161
<a class="anchor" id="a03466a5b72dad8a24ded1b5b8825e5a5"></a><!-- doxytag: member="Gio::RemoteActionGroup::activate_action_vfunc" ref="a03466a5b72dad8a24ded1b5b8825e5a5" args="(const Glib::ustring &action_name, const Glib::VariantBase &parameter, const Glib::VariantBase &platform_data)" -->
162
<div class="memitem">
163
<div class="memproto">
164
<table class="memname">
166
<td class="memname">virtual void Gio::RemoteActionGroup::activate_action_vfunc </td>
168
<td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td>
169
<td class="paramname"><em>action_name</em>, </td>
172
<td class="paramkey"></td>
174
<td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& </td>
175
<td class="paramname"><em>parameter</em>, </td>
178
<td class="paramkey"></td>
180
<td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& </td>
181
<td class="paramname"><em>platform_data</em> </td>
186
<td></td><td><code> [virtual]</code></td>
194
<a class="anchor" id="ad0514a7d8bbf26ed0221d4a1e5eaf68f"></a><!-- doxytag: member="Gio::RemoteActionGroup::add_interface" ref="ad0514a7d8bbf26ed0221d4a1e5eaf68f" args="(GType gtype_implementer)" -->
195
<div class="memitem">
196
<div class="memproto">
197
<table class="memname">
199
<td class="memname">static void Gio::RemoteActionGroup::add_interface </td>
201
<td class="paramtype">GType </td>
202
<td class="paramname"><em>gtype_implementer</em></td><td>)</td>
203
<td><code> [static]</code></td>
211
<a class="anchor" id="a50b57a393496744613ddb20ad951e510"></a><!-- doxytag: member="Gio::RemoteActionGroup::change_action_state" ref="a50b57a393496744613ddb20ad951e510" args="(const Glib::ustring &action_name, const Glib::VariantBase &value, const Glib::VariantBase &platform_data)" -->
212
<div class="memitem">
213
<div class="memproto">
214
<table class="memname">
216
<td class="memname">void Gio::RemoteActionGroup::change_action_state </td>
218
<td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td>
219
<td class="paramname"><em>action_name</em>, </td>
222
<td class="paramkey"></td>
224
<td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& </td>
225
<td class="paramname"><em>value</em>, </td>
228
<td class="paramkey"></td>
230
<td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& </td>
231
<td class="paramname"><em>platform_data</em> </td>
242
<p>Changes the state of a remote action. </p>
243
<p>This is the same as g_action_group_change_action_state() except that it allows for provision of "platform data" to be sent along with the state change request. This typically contains details such as the user interaction timestamp or startup notification information.</p>
244
<p><em>platform_data</em> must be non-<code>0</code> and must have the type VARIANT_TYPE_VARDICT. If it is floating, it will be consumed.</p>
245
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000016">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
246
<dl><dt><b>Parameters:</b></dt><dd>
247
<table class="params">
248
<tr><td class="paramname">action_name</td><td>The name of the action to change the state of. </td></tr>
249
<tr><td class="paramname">value</td><td>The new requested value for the state. </td></tr>
250
<tr><td class="paramname">platform_data</td><td>The platform data to send. </td></tr>
257
<a class="anchor" id="a54a92949ab973e6589b6552a1c9f6542"></a><!-- doxytag: member="Gio::RemoteActionGroup::change_action_state_vfunc" ref="a54a92949ab973e6589b6552a1c9f6542" args="(const Glib::ustring &action_name, const Glib::VariantBase &value, const Glib::VariantBase &platform_data)" -->
258
<div class="memitem">
259
<div class="memproto">
260
<table class="memname">
262
<td class="memname">virtual void Gio::RemoteActionGroup::change_action_state_vfunc </td>
264
<td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td>
265
<td class="paramname"><em>action_name</em>, </td>
268
<td class="paramkey"></td>
270
<td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& </td>
271
<td class="paramname"><em>value</em>, </td>
274
<td class="paramkey"></td>
276
<td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>& </td>
277
<td class="paramname"><em>platform_data</em> </td>
282
<td></td><td><code> [virtual]</code></td>
290
<a class="anchor" id="aa9e53402a7b3aaf8b27bc344cbc7e769"></a><!-- doxytag: member="Gio::RemoteActionGroup::gobj" ref="aa9e53402a7b3aaf8b27bc344cbc7e769" args="()" -->
291
<div class="memitem">
292
<div class="memproto">
293
<table class="memname">
295
<td class="memname">GRemoteActionGroup* Gio::RemoteActionGroup::gobj </td>
297
<td class="paramname"></td><td>)</td>
298
<td><code> [inline]</code></td>
304
<p>Provides access to the underlying C GObject. </p>
306
<p>Reimplemented from <a class="el" href="classGlib_1_1Interface.html#a969e9396f75132a9577428f4fa932d42">Glib::Interface</a>.</p>
308
<p>Reimplemented in <a class="el" href="classGio_1_1DBus_1_1ActionGroup.html#af204b2a102bf4879637ae918c1aa3c8d">Gio::DBus::ActionGroup</a>.</p>
312
<a class="anchor" id="a33c88565858f3ff88680a2168b6fb1d4"></a><!-- doxytag: member="Gio::RemoteActionGroup::gobj" ref="a33c88565858f3ff88680a2168b6fb1d4" args="() const " -->
313
<div class="memitem">
314
<div class="memproto">
315
<table class="memname">
317
<td class="memname">const GRemoteActionGroup* Gio::RemoteActionGroup::gobj </td>
319
<td class="paramname"></td><td>)</td>
320
<td> const<code> [inline]</code></td>
326
<p>Provides access to the underlying C GObject. </p>
328
<p>Reimplemented from <a class="el" href="classGlib_1_1Interface.html#a70a443071a69d3372c2cdd7128a91ed1">Glib::Interface</a>.</p>
330
<p>Reimplemented in <a class="el" href="classGio_1_1DBus_1_1ActionGroup.html#aa4671fdd5f6a69864c04bb880ee9d26e">Gio::DBus::ActionGroup</a>.</p>
334
<hr/><h2>Friends And Related Function Documentation</h2>
335
<a class="anchor" id="a236fcb0eaef59a2d9231d05573a8f7bb"></a><!-- doxytag: member="Gio::RemoteActionGroup::wrap" ref="a236fcb0eaef59a2d9231d05573a8f7bb" args="(GRemoteActionGroup *object, bool take_copy=false)" -->
336
<div class="memitem">
337
<div class="memproto">
338
<table class="memname">
340
<td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1RemoteActionGroup.html">Gio::RemoteActionGroup</a> > wrap </td>
342
<td class="paramtype">GRemoteActionGroup * </td>
343
<td class="paramname"><em>object</em>, </td>
346
<td class="paramkey"></td>
348
<td class="paramtype">bool </td>
349
<td class="paramname"><em>take_copy</em> = <code>false</code> </td>
354
<td></td><td><code> [related]</code></td>
360
<p>A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
361
<dl><dt><b>Parameters:</b></dt><dd>
362
<table class="params">
363
<tr><td class="paramname">object</td><td>The C instance. </td></tr>
364
<tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
368
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
373
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 21 2012 15:17:59 for glibmm by 
374
<a href="http://www.doxygen.org/index.html">
375
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>