Offset 1, 11 lines modified |
Offset 1, 11 lines modified |
1 |
<?xml·version="1.0"·encoding="UTF-8"?>
|
1 |
<?xml·version="1.0"·encoding="UTF-8"?>
|
2 |
<!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html·xmlns="http://www.w3.org/1999/xhtml"><head><meta·http-equiv="Content-Type"·content="text/html;·charset=UTF-8"·/><title>GNOME·Session·3.18.1.2·Documentation</title><link·rel="stylesheet"·type="text/css"·href="docbook.css"·/><meta·name="generator"·content="DocBook·XSL·Stylesheets·V1.78.1"·/></head><body><div·class="book"><div·class="titlepage"><div><div><h1·class="title"><a·id="index"></a>GNOME·Session·3.18.1.2·Documentation</h1></div><div><div·class="authorgroup"><div·class="author"><h3·class="author"><span·class="firstname">William·Jon</span>·<span·class="surname">McCann</span></h3><div·class="affiliation"><div·class="address"><p><br·/>
|
2 |
<!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html·xmlns="http://www.w3.org/1999/xhtml"><head><meta·http-equiv="Content-Type"·content="text/html;·charset=UTF-8"·/><title>GNOME·Session·3.18.1.2·Documentation</title><link·rel="stylesheet"·type="text/css"·href="docbook.css"·/><meta·name="generator"·content="DocBook·XSL·Stylesheets·V1.78.1"·/></head><body><div·class="book"><div·class="titlepage"><div><div><h1·class="title"><a·id="index"></a>GNOME·Session·3.18.1.2·Documentation</h1></div><div><div·class="authorgroup"><div·class="author"><h3·class="author"><span·class="firstname">William·Jon</span>·<span·class="surname">McCann</span></h3><div·class="affiliation"><div·class="address"><p><br·/>
|
3 |
<code·class="email"><<a·class="email"·href="mailto:jmccann@redhat.com">jmccann@redhat.com</a>></code><br·/>
|
3 |
<code·class="email"><<a·class="email"·href="mailto:jmccann@redhat.com">jmccann@redhat.com</a>></code><br·/>
|
4 |
</p></div></div></div></div></div><div><p·class="releaseinfo">Version·3.18.1.2</p></div></div><hr·/></div><div·class="toc"><p><strong>Table·of·Contents</strong></p><dl·class="toc"><dt><span·class="part"><a·href="#idm140425957949632">I.·Reference</a></span></dt><dd><dl><dt><span·class="reference"><a·href="#dbus-reference">I.·D-Bus·API·Reference</a></span></dt><dd><dl><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager">org.gnome.SessionManager</a></span><span·class="refpurpose">·—·SessionManager·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.Client">org.gnome.SessionManager.Client</a></span><span·class="refpurpose">·—·Client·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.ClientPrivate">org.gnome.SessionManager.ClientPrivate</a></span><span·class="refpurpose">·—·ClientPrivate·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.Inhibitor">org.gnome.SessionManager.Inhibito·✂
|
4 |
</p></div></div></div></div></div><div><p·class="releaseinfo">Version·3.18.1.2</p></div></div><hr·/></div><div·class="toc"><p><strong>Table·of·Contents</strong></p><dl·class="toc"><dt><span·class="part"><a·href="#idm140367236783280">I.·Reference</a></span></dt><dd><dl><dt><span·class="reference"><a·href="#dbus-reference">I.·D-Bus·API·Reference</a></span></dt><dd><dl><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager">org.gnome.SessionManager</a></span><span·class="refpurpose">·—·SessionManager·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.Client">org.gnome.SessionManager.Client</a></span><span·class="refpurpose">·—·Client·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.ClientPrivate">org.gnome.SessionManager.ClientPrivate</a></span><span·class="refpurpose">·—·ClientPrivate·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.Inhibitor">org.gnome.SessionManager.Inhibito·✂
|
5 |
········This·API·is·not·yet·stable·and·is·likely·to·change·in·the·future.
|
5 |
········This·API·is·not·yet·stable·and·is·likely·to·change·in·the·future.
|
6 |
········</p><div·class="toc"><p><strong>Table·of·Contents</strong></p><dl·class="toc"><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager">org.gnome.SessionManager</a></span><span·class="refpurpose">·—·SessionManager·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.Client">org.gnome.SessionManager.Client</a></span><span·class="refpurpose">·—·Client·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.ClientPrivate">org.gnome.SessionManager.ClientPrivate</a></span><span·class="refpurpose">·—·ClientPrivate·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.Inhibitor">org.gnome.SessionManager.Inhibitor</a></span><span·class="refpurpose">·—·Inhibitor·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.Presence">org.gnome.SessionManager.Presence</a></span><span·class="refpurpose">·—·Presence·interface</span></dt></dl></div></div><div·class="refentry"><a·i·✂
|
6 |
········</p><div·class="toc"><p><strong>Table·of·Contents</strong></p><dl·class="toc"><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager">org.gnome.SessionManager</a></span><span·class="refpurpose">·—·SessionManager·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.Client">org.gnome.SessionManager.Client</a></span><span·class="refpurpose">·—·Client·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.ClientPrivate">org.gnome.SessionManager.ClientPrivate</a></span><span·class="refpurpose">·—·ClientPrivate·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.Inhibitor">org.gnome.SessionManager.Inhibitor</a></span><span·class="refpurpose">·—·Inhibitor·interface</span></dt><dt><span·class="refentrytitle"><a·href="#org.gnome.SessionManager.Presence">org.gnome.SessionManager.Presence</a></span><span·class="refpurpose">·—·Presence·interface</span></dt></dl></div></div><div·class="refentry"><a·i·✂
|
7 |
in's'value)
|
7 |
in's'value)
|
8 |
<a·class="link"·href="#org.gnome.SessionManager.GetLocale">GetLocale</a>(in'i'category,
|
8 |
<a·class="link"·href="#org.gnome.SessionManager.GetLocale">GetLocale</a>(in'i'category,
|
9 |
out's'value)
|
9 |
out's'value)
|
10 |
<a·class="link"·href="#org.gnome.SessionManager.InitializationError">InitializationError</a>(in's'message,
|
10 |
<a·class="link"·href="#org.gnome.SessionManager.InitializationError">InitializationError</a>(in's'message,
|
11 |
in'b'fatal)
|
11 |
in'b'fatal)
|
Offset 26, 33 lines modified |
Offset 26, 33 lines modified |
26 |
<a·class="link"·href="#org.gnome.SessionManager.IsAutostartConditionHandled">IsAutostartConditionHandled</a>(in's'condition,
|
26 |
<a·class="link"·href="#org.gnome.SessionManager.IsAutostartConditionHandled">IsAutostartConditionHandled</a>(in's'condition,
|
27 |
out'b'handled)
|
27 |
out'b'handled)
|
28 |
<a·class="link"·href="#org.gnome.SessionManager.Shutdown">Shutdown</a>()
|
28 |
<a·class="link"·href="#org.gnome.SessionManager.Shutdown">Shutdown</a>()
|
29 |
<a·class="link"·href="#org.gnome.SessionManager.Reboot">Reboot</a>()
|
29 |
<a·class="link"·href="#org.gnome.SessionManager.Reboot">Reboot</a>()
|
30 |
<a·class="link"·href="#org.gnome.SessionManager.CanShutdown">CanShutdown</a>(out'b'is_available)
|
30 |
<a·class="link"·href="#org.gnome.SessionManager.CanShutdown">CanShutdown</a>(out'b'is_available)
|
31 |
<a·class="link"·href="#org.gnome.SessionManager.Logout">Logout</a>(in'u'mode)
|
31 |
<a·class="link"·href="#org.gnome.SessionManager.Logout">Logout</a>(in'u'mode)
|
32 |
<a·class="link"·href="#org.gnome.SessionManager.IsSessionRunning">IsSessionRunning</a>(out'b'running)
|
32 |
<a·class="link"·href="#org.gnome.SessionManager.IsSessionRunning">IsSessionRunning</a>(out'b'running)
|
33 |
</pre></div><div·class="refsect1"><a·id="idm140425953866080"></a><h2>Signals</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager::ClientAdded">ClientAdded</a>('o'id)
|
33 |
</pre></div><div·class="refsect1"><a·id="idm140367239795872"></a><h2>Signals</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager::ClientAdded">ClientAdded</a>('o'id)
|
34 |
<a·class="link"·href="#org.gnome.SessionManager::ClientRemoved">ClientRemoved</a>('o'id)
|
34 |
<a·class="link"·href="#org.gnome.SessionManager::ClientRemoved">ClientRemoved</a>('o'id)
|
35 |
<a·class="link"·href="#org.gnome.SessionManager::InhibitorAdded">InhibitorAdded</a>('o'id)
|
35 |
<a·class="link"·href="#org.gnome.SessionManager::InhibitorAdded">InhibitorAdded</a>('o'id)
|
36 |
<a·class="link"·href="#org.gnome.SessionManager::InhibitorRemoved">InhibitorRemoved</a>('o'id)
|
36 |
<a·class="link"·href="#org.gnome.SessionManager::InhibitorRemoved">InhibitorRemoved</a>('o'id)
|
37 |
<a·class="link"·href="#org.gnome.SessionManager::SessionRunning">SessionRunning</a>()
|
37 |
<a·class="link"·href="#org.gnome.SessionManager::SessionRunning">SessionRunning</a>()
|
38 |
<a·class="link"·href="#org.gnome.SessionManager::SessionOver">SessionOver</a>()
|
38 |
<a·class="link"·href="#org.gnome.SessionManager::SessionOver">SessionOver</a>()
|
39 |
</pre></div><div·class="refsect1"><a·id="idm140425953860592"></a><h2>Implemented·Interfaces</h2><p>
|
39 |
</pre></div><div·class="refsect1"><a·id="idm140367235386192"></a><h2>Implemented·Interfaces</h2><p>
|
40 |
····Objects·implementing·org.gnome.SessionManager·also·implements
|
40 |
····Objects·implementing·org.gnome.SessionManager·also·implements
|
41 |
····org.freedesktop.DBus.Introspectable,
|
41 |
····org.freedesktop.DBus.Introspectable,
|
42 |
····org.freedesktop.DBus.Properties
|
42 |
····org.freedesktop.DBus.Properties
|
43 |
····</p></div><div·class="refsect1"><a·id="idm140425953858800"></a><h2>Properties</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager:SessionName">'SessionName'</a>read's'
|
43 |
····</p></div><div·class="refsect1"><a·id="idm140367235384400"></a><h2>Properties</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager:SessionName">'SessionName'</a>read's'
|
44 |
<a·class="link"·href="#org.gnome.SessionManager:SessionIsActive">'SessionIsActive'</a>read'b'
|
44 |
<a·class="link"·href="#org.gnome.SessionManager:SessionIsActive">'SessionIsActive'</a>read'b'
|
45 |
<a·class="link"·href="#org.gnome.SessionManager:InhibitedActions">'InhibitedActions'</a>read'u'
|
45 |
<a·class="link"·href="#org.gnome.SessionManager:InhibitedActions">'InhibitedActions'</a>read'u'
|
46 |
</pre></div><div·class="refsect1"><a·id="idm140425953855184"></a><h2>Description</h2><p></p></div><div·class="refsect1"><a·id="idm140425953853680"></a><h2>Details</h2><div·class="refsect2"><a·id="idm140425953852560"></a><h3><a·id="org.gnome.SessionManager.Setenv"></a>Setenv·()</h3><a·id="idm140425953851568"·class="indexterm"></a><pre·class="programlisting">Setenv·(in's'variable,
|
46 |
</pre></div><div·class="refsect1"><a·id="idm140367235380784"></a><h2>Description</h2><p></p></div><div·class="refsect1"><a·id="idm140367235379280"></a><h2>Details</h2><div·class="refsect2"><a·id="idm140367235378160"></a><h3><a·id="org.gnome.SessionManager.Setenv"></a>Setenv·()</h3><a·id="idm140367235377168"·class="indexterm"></a><pre·class="programlisting">Setenv·(in's'variable,
|
47 |
in's'value)</pre><p>Adds·the·variable·name·to·the·application·launch·environment·with·the·specified·value.··May·only·be·used·during·the·Session·Manager·initialization·phase.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>variable</code></em>:</span></dt><dd>The·variable·name</dd><dt><span·class="term"><em·class="parameter"><code>value</code></em>:</span></dt><dd>The·value</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953846480"></a><h3><a·id="org.gnome.SessionManager.GetLocale"></a>GetLocale·()</h3><a·id="idm140425953845488"·class="indexterm"></a><pre·class="programlisting">GetLocale·(in'i'category,
|
47 |
in's'value)</pre><p>Adds·the·variable·name·to·the·application·launch·environment·with·the·specified·value.··May·only·be·used·during·the·Session·Manager·initialization·phase.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>variable</code></em>:</span></dt><dd>The·variable·name</dd><dt><span·class="term"><em·class="parameter"><code>value</code></em>:</span></dt><dd>The·value</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235372080"></a><h3><a·id="org.gnome.SessionManager.GetLocale"></a>GetLocale·()</h3><a·id="idm140367235371088"·class="indexterm"></a><pre·class="programlisting">GetLocale·(in'i'category,
|
48 |
out's'value)</pre><p>Reads·the·current·state·of·the·specific·locale·category.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>category</code></em>:</span></dt><dd>The·locale·category</dd><dt><span·class="term"><em·class="parameter"><code>value</code></em>:</span></dt><dd>The·value</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953840576"></a><h3><a·id="org.gnome.SessionManager.InitializationError"></a>InitializationError·()</h3><a·id="idm140425953839584"·class="indexterm"></a><pre·class="programlisting">InitializationError·(in's'message,
|
48 |
out's'value)</pre><p>Reads·the·current·state·of·the·specific·locale·category.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>category</code></em>:</span></dt><dd>The·locale·category</dd><dt><span·class="term"><em·class="parameter"><code>value</code></em>:</span></dt><dd>The·value</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235366176"></a><h3><a·id="org.gnome.SessionManager.InitializationError"></a>InitializationError·()</h3><a·id="idm140367235365184"·class="indexterm"></a><pre·class="programlisting">InitializationError·(in's'message,
|
49 |
in'b'fatal)</pre><p>May·be·used·by·applications·launched·during·the·Session·Manager·initialization·phase·to·indicate·there·was·a·problem.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>message</code></em>:</span></dt><dd>The·error·message</dd><dt><span·class="term"><em·class="parameter"><code>fatal</code></em>:</span></dt><dd>Whether·the·error·should·be·treated·as·fatal</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953834544"></a><h3><a·id="org.gnome.SessionManager.RegisterClient"></a>RegisterClient·()</h3><a·id="idm140425953833552"·class="indexterm"></a><pre·class="programlisting">RegisterClient·(in's'app_id,
|
49 |
in'b'fatal)</pre><p>May·be·used·by·applications·launched·during·the·Session·Manager·initialization·phase·to·indicate·there·was·a·problem.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>message</code></em>:</span></dt><dd>The·error·message</dd><dt><span·class="term"><em·class="parameter"><code>fatal</code></em>:</span></dt><dd>Whether·the·error·should·be·treated·as·fatal</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235360144"></a><h3><a·id="org.gnome.SessionManager.RegisterClient"></a>RegisterClient·()</h3><a·id="idm140367235359152"·class="indexterm"></a><pre·class="programlisting">RegisterClient·(in's'app_id,
|
50 |
in's'client_startup_id,
|
50 |
in's'client_startup_id,
|
51 |
out'o'client_id)</pre><p>Register·the·caller·as·a·Session·Management·client.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>app_id</code></em>:</span></dt><dd>The·application·identifier</dd><dt><span·class="term"><em·class="parameter"><code>client_startup_id</code></em>:</span></dt><dd>Client·startup·identifier</dd><dt><span·class="term"><em·class="parameter"><code>client_id</code></em>:</span></dt><dd>The·object·path·of·the·newly·registered·client</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953827376"></a><h3><a·id="org.gnome.SessionManager.UnregisterClient"></a>UnregisterClient·()</h3><a·id="idm140425953826384"·class="indexterm"></a><pre·class="programlisting">UnregisterClient·(in'o'client_id)</pre><p>Unregister·the·specified·client·from·Session·Management.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>client_id</code></em>:</span></dt><dd>The·object·path·of·the·client</dd></dl·✂
|
51 |
out'o'client_id)</pre><p>Register·the·caller·as·a·Session·Management·client.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>app_id</code></em>:</span></dt><dd>The·application·identifier</dd><dt><span·class="term"><em·class="parameter"><code>client_startup_id</code></em>:</span></dt><dd>Client·startup·identifier</dd><dt><span·class="term"><em·class="parameter"><code>client_id</code></em>:</span></dt><dd>The·object·path·of·the·newly·registered·client</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235352976"></a><h3><a·id="org.gnome.SessionManager.UnregisterClient"></a>UnregisterClient·()</h3><a·id="idm140367235351984"·class="indexterm"></a><pre·class="programlisting">UnregisterClient·(in'o'client_id)</pre><p>Unregister·the·specified·client·from·Session·Management.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>client_id</code></em>:</span></dt><dd>The·object·path·of·the·client</dd></dl·✂
|
52 |
in'u'toplevel_xid,
|
52 |
in'u'toplevel_xid,
|
53 |
in's'reason,
|
53 |
in's'reason,
|
54 |
in'u'flags,
|
54 |
in'u'flags,
|
55 |
out'u'inhibit_cookie)</pre><p>Applications·should·invoke·this·method·when·they·begin·an·operation·that
|
55 |
out'u'inhibit_cookie)</pre><p>Applications·should·invoke·this·method·when·they·begin·an·operation·that
|
56 |
············should·not·be·interrupted,·such·as·creating·a·CD·or·DVD.··The·types·of·actions
|
56 |
············should·not·be·interrupted,·such·as·creating·a·CD·or·DVD.··The·types·of·actions
|
57 |
············that·may·be·blocked·are·specified·by·the·flags·parameter.··When·the·application
|
57 |
············that·may·be·blocked·are·specified·by·the·flags·parameter.··When·the·application
|
58 |
············completes·the·operation·it·should·call·<a·class="link"·href="#org.gnome.SessionManager.Uninhibit"><code·class="function">Uninhibit()</code></a>
|
58 |
············completes·the·operation·it·should·call·<a·class="link"·href="#org.gnome.SessionManager.Uninhibit"><code·class="function">Uninhibit()</code></a>
|
Offset 67, 74 lines modified |
Offset 67, 74 lines modified |
67 |
············The·flags·parameter·must·include·at·least·one·of·the·following:
|
67 |
············The·flags·parameter·must·include·at·least·one·of·the·following:
|
68 |
············</p><div·class="itemizedlist"><ul·class="itemizedlist"·style="list-style-type:·disc;·"><li·class="listitem"><span·class="bold"><strong>1:·</strong></span>Inhibit·logging·out</li><li·class="listitem"><span·class="bold"><strong>2:·</strong></span>Inhibit·user·switching</li><li·class="listitem"><span·class="bold"><strong>4:·</strong></span>Inhibit·suspending·the·session·or·computer</li><li·class="listitem"><span·class="bold"><strong>8:·</strong></span>Inhibit·the·session·being·marked·as·idle</li><li·class="listitem"><span·class="bold"><strong>16:·</strong></span>Inhibit·auto-mounting·removable·media·for·the·session</li></ul></div><p>
|
68 |
············</p><div·class="itemizedlist"><ul·class="itemizedlist"·style="list-style-type:·disc;·"><li·class="listitem"><span·class="bold"><strong>1:·</strong></span>Inhibit·logging·out</li><li·class="listitem"><span·class="bold"><strong>2:·</strong></span>Inhibit·user·switching</li><li·class="listitem"><span·class="bold"><strong>4:·</strong></span>Inhibit·suspending·the·session·or·computer</li><li·class="listitem"><span·class="bold"><strong>8:·</strong></span>Inhibit·the·session·being·marked·as·idle</li><li·class="listitem"><span·class="bold"><strong>16:·</strong></span>Inhibit·auto-mounting·removable·media·for·the·session</li></ul></div><p>
|
69 |
············Values·for·flags·may·be·bitwise·or'ed·together.
|
69 |
············Values·for·flags·may·be·bitwise·or'ed·together.
|
70 |
··········</p><p>
|
70 |
··········</p><p>
|
71 |
············The·returned·cookie·is·used·to·uniquely·identify·this·request.··It·should·be·used
|
71 |
············The·returned·cookie·is·used·to·uniquely·identify·this·request.··It·should·be·used
|
72 |
············as·an·argument·to·<a·class="link"·href="#org.gnome.SessionManager.Uninhibit"><code·class="function">Uninhibit()</code></a>·in
|
72 |
············as·an·argument·to·<a·class="link"·href="#org.gnome.SessionManager.Uninhibit"><code·class="function">Uninhibit()</code></a>·in
|
73 |
············order·to·remove·the·request.
|
73 |
············order·to·remove·the·request.
|
74 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>app_id</code></em>:</span></dt><dd>The·application·identifier</dd><dt><span·class="term"><em·class="parameter"><code>toplevel_xid</code></em>:</span></dt><dd>The·toplevel·X·window·identifier</dd><dt><span·class="term"><em·class="parameter"><code>reason</code></em>:</span></dt><dd>The·reason·for·the·inhibit</dd><dt><span·class="term"><em·class="parameter"><code>flags</code></em>:</span></dt><dd>Flags·that·specify·what·should·be·inhibited</dd><dt><span·class="term"><em·class="parameter"><code>inhibit_cookie</code></em>:</span></dt><dd>The·cookie</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953803648"></a><h3><a·id="org.gnome.SessionManager.Uninhibit"></a>Uninhibit·()</h3><a·id="idm140425953802656"·class="indexterm"></a><pre·class="programlisting">Uninhibit·(in'u'inhibit_cookie)</pre><p>Cancel·a·previous·call·to·<a·class="link"·href="#org.gnome.SessionManager.Inhibit"><code·class="fun·✂
|
74 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>app_id</code></em>:</span></dt><dd>The·application·identifier</dd><dt><span·class="term"><em·class="parameter"><code>toplevel_xid</code></em>:</span></dt><dd>The·toplevel·X·window·identifier</dd><dt><span·class="term"><em·class="parameter"><code>reason</code></em>:</span></dt><dd>The·reason·for·the·inhibit</dd><dt><span·class="term"><em·class="parameter"><code>flags</code></em>:</span></dt><dd>Flags·that·specify·what·should·be·inhibited</dd><dt><span·class="term"><em·class="parameter"><code>inhibit_cookie</code></em>:</span></dt><dd>The·cookie</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235329568"></a><h3><a·id="org.gnome.SessionManager.Uninhibit"></a>Uninhibit·()</h3><a·id="idm140367235328576"·class="indexterm"></a><pre·class="programlisting">Uninhibit·(in'u'inhibit_cookie)</pre><p>Cancel·a·previous·call·to·<a·class="link"·href="#org.gnome.SessionManager.Inhibit"><code·class="fun·✂
|
75 |
out'b'is_inhibited)</pre><p>Determine·if·operation(s)·specified·by·the·flags
|
75 |
out'b'is_inhibited)</pre><p>Determine·if·operation(s)·specified·by·the·flags
|
76 |
············are·currently·inhibited.··Flags·are·same·as·those·accepted
|
76 |
············are·currently·inhibited.··Flags·are·same·as·those·accepted
|
77 |
············by·the
|
77 |
············by·the
|
78 |
············<a·class="link"·href="#org.gnome.SessionManager.Inhibit"><code·class="function">Inhibit()</code></a>
|
78 |
············<a·class="link"·href="#org.gnome.SessionManager.Inhibit"><code·class="function">Inhibit()</code></a>
|
79 |
············method.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>flags</code></em>:</span></dt><dd>Flags·that·spefify·what·should·be·inhibited</dd><dt><span·class="term"><em·class="parameter"><code>is_inhibited</code></em>:</span></dt><dd>Returns·TRUE·if·any·of·the·operations·in·the·bitfield·flags·are·inhibited</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953790864"></a><h3><a·id="org.gnome.SessionManager.GetClients"></a>GetClients·()</h3><a·id="idm140425953789872"·class="indexterm"></a><pre·class="programlisting">GetClients·(out'ao'clients)</pre><p>This·gets·a·list·of·all·the·<a·class="link"·href="#org.gnome.SessionManager.Client"·title="org.gnome.SessionManager.Client">Clients</a>
|
79 |
············method.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>flags</code></em>:</span></dt><dd>Flags·that·spefify·what·should·be·inhibited</dd><dt><span·class="term"><em·class="parameter"><code>is_inhibited</code></em>:</span></dt><dd>Returns·TRUE·if·any·of·the·operations·in·the·bitfield·flags·are·inhibited</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235316784"></a><h3><a·id="org.gnome.SessionManager.GetClients"></a>GetClients·()</h3><a·id="idm140367235315792"·class="indexterm"></a><pre·class="programlisting">GetClients·(out'ao'clients)</pre><p>This·gets·a·list·of·all·the·<a·class="link"·href="#org.gnome.SessionManager.Client"·title="org.gnome.SessionManager.Client">Clients</a>
|
80 |
··········that·are·currently·known·to·the·session·manager.</p><p>Each·Client·ID·is·an·D-Bus·object·path·for·the·object·that·implements·the
|
80 |
··········that·are·currently·known·to·the·session·manager.</p><p>Each·Client·ID·is·an·D-Bus·object·path·for·the·object·that·implements·the
|
81 |
··········<a·class="link"·href="#org.gnome.SessionManager.Client"·title="org.gnome.SessionManager.Client">Client</a>·interface.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>clients</code></em>:</span></dt><dd>an·array·of·client·IDs</dd></dl></div><p>
|
81 |
··········<a·class="link"·href="#org.gnome.SessionManager.Client"·title="org.gnome.SessionManager.Client">Client</a>·interface.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>clients</code></em>:</span></dt><dd>an·array·of·client·IDs</dd></dl></div><p>
|
82 |
See·also:
|
82 |
See·also:
|
83 |
<a·class="link"·href="#org.gnome.SessionManager.Client"·title="org.gnome.SessionManager.Client">org.gnome.SessionManager.Client</a></p></div><div·class="refsect2"><a·id="idm140425953783664"></a><h3><a·id="org.gnome.SessionManager.GetInhibitors"></a>GetInhibitors·()</h3><a·id="idm140425953782672"·class="indexterm"></a><pre·class="programlisting">GetInhibitors·(out'ao'inhibitors)</pre><p>This·gets·a·list·of·all·the·<a·class="link"·href="#org.gnome.SessionManager.Inhibitor"·title="org.gnome.SessionManager.Inhibitor">Inhibitors</a>
|
83 |
<a·class="link"·href="#org.gnome.SessionManager.Client"·title="org.gnome.SessionManager.Client">org.gnome.SessionManager.Client</a></p></div><div·class="refsect2"><a·id="idm140367235309584"></a><h3><a·id="org.gnome.SessionManager.GetInhibitors"></a>GetInhibitors·()</h3><a·id="idm140367235308592"·class="indexterm"></a><pre·class="programlisting">GetInhibitors·(out'ao'inhibitors)</pre><p>This·gets·a·list·of·all·the·<a·class="link"·href="#org.gnome.SessionManager.Inhibitor"·title="org.gnome.SessionManager.Inhibitor">Inhibitors</a>
|
84 |
··········that·are·currently·known·to·the·session·manager.</p><p>Each·Inhibitor·ID·is·an·D-Bus·object·path·for·the·object·that·implements·the
|
84 |
··········that·are·currently·known·to·the·session·manager.</p><p>Each·Inhibitor·ID·is·an·D-Bus·object·path·for·the·object·that·implements·the
|
85 |
··········<a·class="link"·href="#org.gnome.SessionManager.Inhibitor"·title="org.gnome.SessionManager.Inhibitor">Inhibitor</a>·interface.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>inhibitors</code></em>:</span></dt><dd>an·array·of·inhibitor·IDs</dd></dl></div><p>
|
85 |
··········<a·class="link"·href="#org.gnome.SessionManager.Inhibitor"·title="org.gnome.SessionManager.Inhibitor">Inhibitor</a>·interface.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>inhibitors</code></em>:</span></dt><dd>an·array·of·inhibitor·IDs</dd></dl></div><p>
|
86 |
See·also:
|
86 |
See·also:
|
87 |
<a·class="link"·href="#org.gnome.SessionManager.Inhibitor"·title="org.gnome.SessionManager.Inhibitor">org.gnome.SessionManager.Inhibitor</a></p></div><div·class="refsect2"><a·id="idm140425953776464"></a><h3><a·id="org.gnome.SessionManager.IsAutostartConditionHandled"></a>IsAutostartConditionHandled·()</h3><a·id="idm140425953775472"·class="indexterm"></a><pre·class="programlisting">IsAutostartConditionHandled·(in's'condition,
|
87 |
<a·class="link"·href="#org.gnome.SessionManager.Inhibitor"·title="org.gnome.SessionManager.Inhibitor">org.gnome.SessionManager.Inhibitor</a></p></div><div·class="refsect2"><a·id="idm140367235302384"></a><h3><a·id="org.gnome.SessionManager.IsAutostartConditionHandled"></a>IsAutostartConditionHandled·()</h3><a·id="idm140367235301392"·class="indexterm"></a><pre·class="programlisting">IsAutostartConditionHandled·(in's'condition,
|
88 |
out'b'handled)</pre><p>Allows·the·caller·to·determine·whether·the·session·manager·is
|
88 |
out'b'handled)</pre><p>Allows·the·caller·to·determine·whether·the·session·manager·is
|
89 |
··········handling·changes·to·the·specified·autostart·condition.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>condition</code></em>:</span></dt><dd>The·autostart·condition·string</dd><dt><span·class="term"><em·class="parameter"><code>handled</code></em>:</span></dt><dd>True·if·condition·is·handled,·false·otherwise</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953770336"></a><h3><a·id="org.gnome.SessionManager.Shutdown"></a>Shutdown·()</h3><a·id="idm140425953769344"·class="indexterm"></a><pre·class="programlisting">Shutdown·()</pre><p>Request·a·shutdown·dialog.</p></div><div·class="refsect2"><a·id="idm140425953767328"></a><h3><a·id="org.gnome.SessionManager.Reboot"></a>Reboot·()</h3><a·id="idm140425953766336"·class="indexterm"></a><pre·class="programlisting">Reboot·()</pre><p>Request·a·reboot·dialog.</p></div><div·class="refsect2"><a·id="idm140425953764320"></a><h3><a·id="org.gnome.SessionManager.CanShutdown"></a>CanShutdown·()</h3><a·id=·✂
|
89 |
··········handling·changes·to·the·specified·autostart·condition.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>condition</code></em>:</span></dt><dd>The·autostart·condition·string</dd><dt><span·class="term"><em·class="parameter"><code>handled</code></em>:</span></dt><dd>True·if·condition·is·handled,·false·otherwise</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235296256"></a><h3><a·id="org.gnome.SessionManager.Shutdown"></a>Shutdown·()</h3><a·id="idm140367235295264"·class="indexterm"></a><pre·class="programlisting">Shutdown·()</pre><p>Request·a·shutdown·dialog.</p></div><div·class="refsect2"><a·id="idm140367235293248"></a><h3><a·id="org.gnome.SessionManager.Reboot"></a>Reboot·()</h3><a·id="idm140367235292256"·class="indexterm"></a><pre·class="programlisting">Reboot·()</pre><p>Request·a·reboot·dialog.</p></div><div·class="refsect2"><a·id="idm140367235290240"></a><h3><a·id="org.gnome.SessionManager.CanShutdown"></a>CanShutdown·()</h3><a·id=·✂
|
90 |
··········a·shutdown·option·in·the·UI</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>is_available</code></em>:</span></dt><dd>True·if·shutdown·is·available·to·the·user,·false·otherwise</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953759488"></a><h3><a·id="org.gnome.SessionManager.Logout"></a>Logout·()</h3><a·id="idm140425953758496"·class="indexterm"></a><pre·class="programlisting">Logout·(in'u'mode)</pre><p>Request·a·logout·dialog</p><p>
|
90 |
··········a·shutdown·option·in·the·UI</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>is_available</code></em>:</span></dt><dd>True·if·shutdown·is·available·to·the·user,·false·otherwise</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235285408"></a><h3><a·id="org.gnome.SessionManager.Logout"></a>Logout·()</h3><a·id="idm140367235284416"·class="indexterm"></a><pre·class="programlisting">Logout·(in'u'mode)</pre><p>Request·a·logout·dialog</p><p>
|
91 |
············Allowed·values·for·the·mode·parameter·are:
|
91 |
············Allowed·values·for·the·mode·parameter·are:
|
92 |
············</p><div·class="itemizedlist"><ul·class="itemizedlist"·style="list-style-type:·disc;·"><li·class="listitem"><span·class="bold"><strong>0:·</strong></span>Normal.</li><li·class="listitem"><span·class="bold"><strong>1:·</strong></span>No·confirmation·inferface·should·be·shown.</li><li·class="listitem"><span·class="bold"><strong>2:·</strong></span>Forcefully·logout.··No·confirmation·will·be·shown·and·any·inhibitors·will·be·ignored.</li></ul></div><p>
|
92 |
············</p><div·class="itemizedlist"><ul·class="itemizedlist"·style="list-style-type:·disc;·"><li·class="listitem"><span·class="bold"><strong>0:·</strong></span>Normal.</li><li·class="listitem"><span·class="bold"><strong>1:·</strong></span>No·confirmation·inferface·should·be·shown.</li><li·class="listitem"><span·class="bold"><strong>2:·</strong></span>Forcefully·logout.··No·confirmation·will·be·shown·and·any·inhibitors·will·be·ignored.</li></ul></div><p>
|
93 |
············Values·for·flags·may·be·bitwise·or'ed·together.
|
93 |
············Values·for·flags·may·be·bitwise·or'ed·together.
|
94 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>mode</code></em>:</span></dt><dd>The·type·of·logout·that·is·being·requested</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953751312"></a><h3><a·id="org.gnome.SessionManager.IsSessionRunning"></a>IsSessionRunning·()</h3><a·id="idm140425953750320"·class="indexterm"></a><pre·class="programlisting">IsSessionRunning·(out'b'running)</pre><p>Allows·the·caller·to·determine·whether·the·session·manager
|
94 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>mode</code></em>:</span></dt><dd>The·type·of·logout·that·is·being·requested</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235277232"></a><h3><a·id="org.gnome.SessionManager.IsSessionRunning"></a>IsSessionRunning·()</h3><a·id="idm140367235276240"·class="indexterm"></a><pre·class="programlisting">IsSessionRunning·(out'b'running)</pre><p>Allows·the·caller·to·determine·whether·the·session·manager
|
95 |
··········has·entered·the·Running·phase,·in·case·the·client·missed·the
|
95 |
··········has·entered·the·Running·phase,·in·case·the·client·missed·the
|
96 |
··········SessionRunning·signal.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>running</code></em>:</span></dt><dd>True·if·the·session·has·entered·the·Running·phase,·false·otherwise</dd></dl></div></div></div><div·class="refsect1"><a·id="idm140425953746288"></a><h2>Signal·Details</h2><div·class="refsect2"><a·id="idm140425953745168"></a><h3><a·id="org.gnome.SessionManager::ClientAdded"></a>The·ClientAdded·signal</h3><a·id="idm140425953744176"·class="indexterm"></a><pre·class="programlisting">ClientAdded·('o'id)</pre><p>Emitted·when·a·client·has·been·added·to·the·session·manager.
|
96 |
··········SessionRunning·signal.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>running</code></em>:</span></dt><dd>True·if·the·session·has·entered·the·Running·phase,·false·otherwise</dd></dl></div></div></div><div·class="refsect1"><a·id="idm140367235272208"></a><h2>Signal·Details</h2><div·class="refsect2"><a·id="idm140367235271088"></a><h3><a·id="org.gnome.SessionManager::ClientAdded"></a>The·ClientAdded·signal</h3><a·id="idm140367235270096"·class="indexterm"></a><pre·class="programlisting">ClientAdded·('o'id)</pre><p>Emitted·when·a·client·has·been·added·to·the·session·manager.
|
97 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>id</code></em>:</span></dt><dd>The·object·path·for·the·added·client</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953740448"></a><h3><a·id="org.gnome.SessionManager::ClientRemoved"></a>The·ClientRemoved·signal</h3><a·id="idm140425953739456"·class="indexterm"></a><pre·class="programlisting">ClientRemoved·('o'id)</pre><p>Emitted·when·a·client·has·been·removed·from·the·session·manager.
|
97 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>id</code></em>:</span></dt><dd>The·object·path·for·the·added·client</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235266368"></a><h3><a·id="org.gnome.SessionManager::ClientRemoved"></a>The·ClientRemoved·signal</h3><a·id="idm140367235265376"·class="indexterm"></a><pre·class="programlisting">ClientRemoved·('o'id)</pre><p>Emitted·when·a·client·has·been·removed·from·the·session·manager.
|
98 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>id</code></em>:</span></dt><dd>The·object·path·for·the·removed·client</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953735712"></a><h3><a·id="org.gnome.SessionManager::InhibitorAdded"></a>The·InhibitorAdded·signal</h3><a·id="idm140425953734720"·class="indexterm"></a><pre·class="programlisting">InhibitorAdded·('o'id)</pre><p>Emitted·when·an·inhibitor·has·been·added·to·the·session·manager.
|
98 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>id</code></em>:</span></dt><dd>The·object·path·for·the·removed·client</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235261632"></a><h3><a·id="org.gnome.SessionManager::InhibitorAdded"></a>The·InhibitorAdded·signal</h3><a·id="idm140367235260640"·class="indexterm"></a><pre·class="programlisting">InhibitorAdded·('o'id)</pre><p>Emitted·when·an·inhibitor·has·been·added·to·the·session·manager.
|
99 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>id</code></em>:</span></dt><dd>The·object·path·for·the·added·inhibitor</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953730976"></a><h3><a·id="org.gnome.SessionManager::InhibitorRemoved"></a>The·InhibitorRemoved·signal</h3><a·id="idm140425953729984"·class="indexterm"></a><pre·class="programlisting">InhibitorRemoved·('o'id)</pre><p>Emitted·when·an·inhibitor·has·been·removed·from·the·session·manager.
|
99 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>id</code></em>:</span></dt><dd>The·object·path·for·the·added·inhibitor</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235256896"></a><h3><a·id="org.gnome.SessionManager::InhibitorRemoved"></a>The·InhibitorRemoved·signal</h3><a·id="idm140367235255904"·class="indexterm"></a><pre·class="programlisting">InhibitorRemoved·('o'id)</pre><p>Emitted·when·an·inhibitor·has·been·removed·from·the·session·manager.
|
100 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>id</code></em>:</span></dt><dd>The·object·path·for·the·removed·inhibitor</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953726240"></a><h3><a·id="org.gnome.SessionManager::SessionRunning"></a>The·SessionRunning·signal</h3><a·id="idm140425953725248"·class="indexterm"></a><pre·class="programlisting">SessionRunning·()</pre><p>Indicates·the·session·has·entered·the·Running·phase.</p></div><div·class="refsect2"><a·id="idm140425953723232"></a><h3><a·id="org.gnome.SessionManager::SessionOver"></a>The·SessionOver·signal</h3><a·id="idm140425953722240"·class="indexterm"></a><pre·class="programlisting">SessionOver·()</pre><p>Indicates·the·session·is·about·to·end.</p></div></div><div·class="refsect1"><a·id="idm140425953720096"></a><h2>Property·Details</h2><div·class="refsect2"><a·id="idm140425953718976"></a><h3><a·id="org.gnome.SessionManager:SessionName"></a>The·"SessionName"·property</h3><a·id=·✂
|
100 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>id</code></em>:</span></dt><dd>The·object·path·for·the·removed·inhibitor</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235252160"></a><h3><a·id="org.gnome.SessionManager::SessionRunning"></a>The·SessionRunning·signal</h3><a·id="idm140367235251168"·class="indexterm"></a><pre·class="programlisting">SessionRunning·()</pre><p>Indicates·the·session·has·entered·the·Running·phase.</p></div><div·class="refsect2"><a·id="idm140367235249152"></a><h3><a·id="org.gnome.SessionManager::SessionOver"></a>The·SessionOver·signal</h3><a·id="idm140367235248160"·class="indexterm"></a><pre·class="programlisting">SessionOver·()</pre><p>Indicates·the·session·is·about·to·end.</p></div></div><div·class="refsect1"><a·id="idm140367235246016"></a><h2>Property·Details</h2><div·class="refsect2"><a·id="idm140367235244896"></a><h3><a·id="org.gnome.SessionManager:SessionName"></a>The·"SessionName"·property</h3><a·id=·✂
|
101 |
</pre><p>The·name·of·the·session·that·has·been·loaded.</p></div><div·class="refsect2"><a·id="idm140425953715968"></a><h3><a·id="org.gnome.SessionManager:SessionIsActive"></a>The·"SessionIsActive"·property</h3><a·id="idm140425953714976"·class="indexterm"></a><pre·class="programlisting">'SessionIsActive'read'b'
|
101 |
</pre><p>The·name·of·the·session·that·has·been·loaded.</p></div><div·class="refsect2"><a·id="idm140367235241888"></a><h3><a·id="org.gnome.SessionManager:SessionIsActive"></a>The·"SessionIsActive"·property</h3><a·id="idm140367235240896"·class="indexterm"></a><pre·class="programlisting">'SessionIsActive'read'b'
|
102 |
</pre><p>If·true,·the·session·is·currently·in·the
|
102 |
</pre><p>If·true,·the·session·is·currently·in·the
|
103 |
··········foreground·and·available·for·user·input.</p></div><div·class="refsect2"><a·id="idm140425953712848"></a><h3><a·id="org.gnome.SessionManager:InhibitedActions"></a>The·"InhibitedActions"·property</h3><a·id="idm140425953711856"·class="indexterm"></a><pre·class="programlisting">'InhibitedActions'read'u'
|
103 |
··········foreground·and·available·for·user·input.</p></div><div·class="refsect2"><a·id="idm140367235238768"></a><h3><a·id="org.gnome.SessionManager:InhibitedActions"></a>The·"InhibitedActions"·property</h3><a·id="idm140367235237776"·class="indexterm"></a><pre·class="programlisting">'InhibitedActions'read'u'
|
104 |
</pre><p>A·bitmask·of·flags·to·indicate·which·actions
|
104 |
</pre><p>A·bitmask·of·flags·to·indicate·which·actions
|
105 |
··········are·inhibited.·See·the·Inhibit()·function's·description
|
105 |
··········are·inhibited.·See·the·Inhibit()·function's·description
|
106 |
··········for·a·list·of·possible·values.</p></div></div></div><div·class="refentry"><div·class="refentry.separator"><hr·/></div><a·id="org.gnome.SessionManager.Client"></a><div·class="titlepage"></div><div·class="refnamediv"><h2>Name</h2><p>org.gnome.SessionManager.Client·—·Client·interface</p></div><div·class="refsynopsisdiv"><h2>Methods</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager.Client.GetAppId">GetAppId</a>(out's'app_id)
|
106 |
··········for·a·list·of·possible·values.</p></div></div></div><div·class="refentry"><div·class="refentry.separator"><hr·/></div><a·id="org.gnome.SessionManager.Client"></a><div·class="titlepage"></div><div·class="refnamediv"><h2>Name</h2><p>org.gnome.SessionManager.Client·—·Client·interface</p></div><div·class="refsynopsisdiv"><h2>Methods</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager.Client.GetAppId">GetAppId</a>(out's'app_id)
|
107 |
<a·class="link"·href="#org.gnome.SessionManager.Client.GetStartupId">GetStartupId</a>(out's'startup_id)
|
107 |
<a·class="link"·href="#org.gnome.SessionManager.Client.GetStartupId">GetStartupId</a>(out's'startup_id)
|
108 |
<a·class="link"·href="#org.gnome.SessionManager.Client.GetRestartStyleHint">GetRestartStyleHint</a>(out'u'hint)
|
108 |
<a·class="link"·href="#org.gnome.SessionManager.Client.GetRestartStyleHint">GetRestartStyleHint</a>(out'u'hint)
|
109 |
<a·class="link"·href="#org.gnome.SessionManager.Client.GetUnixProcessId">GetUnixProcessId</a>(out'u'pid)
|
109 |
<a·class="link"·href="#org.gnome.SessionManager.Client.GetUnixProcessId">GetUnixProcessId</a>(out'u'pid)
|
110 |
<a·class="link"·href="#org.gnome.SessionManager.Client.GetStatus">GetStatus</a>(out'u'status)
|
110 |
<a·class="link"·href="#org.gnome.SessionManager.Client.GetStatus">GetStatus</a>(out'u'status)
|
111 |
<a·class="link"·href="#org.gnome.SessionManager.Client.Stop">Stop</a>()
|
111 |
<a·class="link"·href="#org.gnome.SessionManager.Client.Stop">Stop</a>()
|
112 |
</pre></div><div·class="refsect1"><a·id="idm140425953524256"></a><h2>Implemented·Interfaces</h2><p>
|
112 |
</pre></div><div·class="refsect1"><a·id="idm140367235050032"></a><h2>Implemented·Interfaces</h2><p>
|
113 |
····Objects·implementing·org.gnome.SessionManager.Client·also·implements
|
113 |
····Objects·implementing·org.gnome.SessionManager.Client·also·implements
|
114 |
····org.freedesktop.DBus.Introspectable,
|
114 |
····org.freedesktop.DBus.Introspectable,
|
115 |
····org.freedesktop.DBus.Properties
|
115 |
····org.freedesktop.DBus.Properties
|
116 |
····</p></div><div·class="refsect1"><a·id="idm140425953522448"></a><h2>Description</h2><p></p></div><div·class="refsect1"><a·id="idm140425953520944"></a><h2>Details</h2><div·class="refsect2"><a·id="idm140425953519824"></a><h3><a·id="org.gnome.SessionManager.Client.GetAppId"></a>GetAppId·()</h3><a·id="idm140425953518832"·class="indexterm"></a><pre·class="programlisting">GetAppId·(out's'app_id)</pre><p>Return·the·application·ID·associated·with·this·client.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>app_id</code></em>:</span></dt><dd>The·identifier·for·the·associated·application</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953515184"></a><h3><a·id="org.gnome.SessionManager.Client.GetStartupId"></a>GetStartupId·()</h3><a·id="idm140425953514192"·class="indexterm"></a><pre·class="programlisting">GetStartupId·(out's'startup_id)</pre><p>Return·the·startup·ID·associated·with·this·client.</p><div·class="variablelist"><dl·class="variablelist"><d·✂
|
116 |
····</p></div><div·class="refsect1"><a·id="idm140367235048224"></a><h2>Description</h2><p></p></div><div·class="refsect1"><a·id="idm140367235046720"></a><h2>Details</h2><div·class="refsect2"><a·id="idm140367235045600"></a><h3><a·id="org.gnome.SessionManager.Client.GetAppId"></a>GetAppId·()</h3><a·id="idm140367235044608"·class="indexterm"></a><pre·class="programlisting">GetAppId·(out's'app_id)</pre><p>Return·the·application·ID·associated·with·this·client.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>app_id</code></em>:</span></dt><dd>The·identifier·for·the·associated·application</dd></dl></div></div><div·class="refsect2"><a·id="idm140367235040960"></a><h3><a·id="org.gnome.SessionManager.Client.GetStartupId"></a>GetStartupId·()</h3><a·id="idm140367235039968"·class="indexterm"></a><pre·class="programlisting">GetStartupId·(out's'startup_id)</pre><p>Return·the·startup·ID·associated·with·this·client.</p><div·class="variablelist"><dl·class="variablelist"><d·✂
|
117 |
in's'reason)
|
117 |
in's'reason)
|
118 |
</pre></div><div·class="refsect1"><a·id="idm140425953443824"></a><h2>Signals</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::Stop">Stop</a>()
|
118 |
</pre></div><div·class="refsect1"><a·id="idm140367234969600"></a><h2>Signals</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::Stop">Stop</a>()
|
119 |
<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::QueryEndSession">QueryEndSession</a>('u'flags)
|
119 |
<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::QueryEndSession">QueryEndSession</a>('u'flags)
|
120 |
<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::EndSession">EndSession</a>('u'flags)
|
120 |
<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::EndSession">EndSession</a>('u'flags)
|
121 |
<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::CancelEndSession">CancelEndSession</a>()
|
121 |
<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::CancelEndSession">CancelEndSession</a>()
|
122 |
</pre></div><div·class="refsect1"><a·id="idm140425953439424"></a><h2>Implemented·Interfaces</h2><p>
|
122 |
</pre></div><div·class="refsect1"><a·id="idm140367234965200"></a><h2>Implemented·Interfaces</h2><p>
|
123 |
····Objects·implementing·org.gnome.SessionManager.ClientPrivate·also·implements
|
123 |
····Objects·implementing·org.gnome.SessionManager.ClientPrivate·also·implements
|
124 |
····org.freedesktop.DBus.Introspectable,
|
124 |
····org.freedesktop.DBus.Introspectable,
|
125 |
····org.freedesktop.DBus.Properties
|
125 |
····org.freedesktop.DBus.Properties
|
126 |
····</p></div><div·class="refsect1"><a·id="idm140425953437616"></a><h2>Description</h2><p></p></div><div·class="refsect1"><a·id="idm140425953436112"></a><h2>Details</h2><div·class="refsect2"><a·id="idm140425953434992"></a><h3><a·id="org.gnome.SessionManager.ClientPrivate.EndSessionResponse"></a>EndSessionResponse·()</h3><a·id="idm140425953433840"·class="indexterm"></a><pre·class="programlisting">EndSessionResponse·(in'b'is_ok,
|
126 |
····</p></div><div·class="refsect1"><a·id="idm140367234963392"></a><h2>Description</h2><p></p></div><div·class="refsect1"><a·id="idm140367234961888"></a><h2>Details</h2><div·class="refsect2"><a·id="idm140367234960768"></a><h3><a·id="org.gnome.SessionManager.ClientPrivate.EndSessionResponse"></a>EndSessionResponse·()</h3><a·id="idm140367234959616"·class="indexterm"></a><pre·class="programlisting">EndSessionResponse·(in'b'is_ok,
|
127 |
in's'reason)</pre><p>This·method·should·be·used·by·the·client·in·response·to
|
127 |
in's'reason)</pre><p>This·method·should·be·used·by·the·client·in·response·to
|
128 |
············the·<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::QueryEndSession"><code·class="literal">QueryEndSession</code></a>
|
128 |
············the·<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::QueryEndSession"><code·class="literal">QueryEndSession</code></a>
|
129 |
············and·<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::EndSession"><code·class="literal">EndSession</code></a>·signals.
|
129 |
············and·<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::EndSession"><code·class="literal">EndSession</code></a>·signals.
|
130 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>is_ok</code></em>:</span></dt><dd>Whether·or·not·it·is·OK·to·preceed</dd><dt><span·class="term"><em·class="parameter"><code>reason</code></em>:</span></dt><dd>The·reason·string</dd></dl></div></div></div><div·class="refsect1"><a·id="idm140425953426720"></a><h2>Signal·Details</h2><div·class="refsect2"><a·id="idm140425953425600"></a><h3><a·id="org.gnome.SessionManager.ClientPrivate::Stop"></a>The·Stop·signal</h3><a·id="idm140425953424608"·class="indexterm"></a><pre·class="programlisting">Stop·()</pre><p>
|
130 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>is_ok</code></em>:</span></dt><dd>Whether·or·not·it·is·OK·to·preceed</dd><dt><span·class="term"><em·class="parameter"><code>reason</code></em>:</span></dt><dd>The·reason·string</dd></dl></div></div></div><div·class="refsect1"><a·id="idm140367234952496"></a><h2>Signal·Details</h2><div·class="refsect2"><a·id="idm140367234951376"></a><h3><a·id="org.gnome.SessionManager.ClientPrivate::Stop"></a>The·Stop·signal</h3><a·id="idm140367234950384"·class="indexterm"></a><pre·class="programlisting">Stop·()</pre><p>
|
131 |
············The·client·should·stop·and·remove·itself·from·the·session·in
|
131 |
············The·client·should·stop·and·remove·itself·from·the·session·in
|
132 |
············response·to·this·signal.
|
132 |
············response·to·this·signal.
|
133 |
··········</p></div><div·class="refsect2"><a·id="idm140425953422448"></a><h3><a·id="org.gnome.SessionManager.ClientPrivate::QueryEndSession"></a>The·QueryEndSession·signal</h3><a·id="idm140425953421456"·class="indexterm"></a><pre·class="programlisting">QueryEndSession·('u'flags)</pre><p>This·signal·is·used·to·inform·the·client·that·the
|
133 |
··········</p></div><div·class="refsect2"><a·id="idm140367234948224"></a><h3><a·id="org.gnome.SessionManager.ClientPrivate::QueryEndSession"></a>The·QueryEndSession·signal</h3><a·id="idm140367234947232"·class="indexterm"></a><pre·class="programlisting">QueryEndSession·('u'flags)</pre><p>This·signal·is·used·to·inform·the·client·that·the
|
134 |
············session·is·about·to·end.··The·client·must·respond·by
|
134 |
············session·is·about·to·end.··The·client·must·respond·by
|
135 |
············calling
|
135 |
············calling
|
136 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate.EndSessionResponse"><code·class="function">EndSessionResponse</code></a>
|
136 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate.EndSessionResponse"><code·class="function">EndSessionResponse</code></a>
|
137 |
············within·one·second·of·the·signal·emission.
|
137 |
············within·one·second·of·the·signal·emission.
|
138 |
··········</p><p>
|
138 |
··········</p><p>
|
139 |
············The·flags·may·include:
|
139 |
············The·flags·may·include:
|
140 |
············</p><div·class="itemizedlist"><ul·class="itemizedlist"·style="list-style-type:·disc;·"><li·class="listitem"><span·class="bold"><strong>1:·</strong></span>Logout·is·forced.
|
140 |
············</p><div·class="itemizedlist"><ul·class="itemizedlist"·style="list-style-type:·disc;·"><li·class="listitem"><span·class="bold"><strong>1:·</strong></span>Logout·is·forced.
|
Offset 152, 49 lines modified |
Offset 152, 49 lines modified |
152 |
············response·to·the
|
152 |
············response·to·the
|
153 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::EndSession"><code·class="literal">EndSession</code></a>·signal.
|
153 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::EndSession"><code·class="literal">EndSession</code></a>·signal.
|
154 |
··········</p><p>
|
154 |
··········</p><p>
|
155 |
············The·client·should·limit·operations·until·either·a
|
155 |
············The·client·should·limit·operations·until·either·a
|
156 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::EndSession"><code·class="literal">EndSession</code></a>
|
156 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::EndSession"><code·class="literal">EndSession</code></a>
|
157 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::CancelEndSession"><code·class="literal">CancelEndSession</code></a>
|
157 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::CancelEndSession"><code·class="literal">CancelEndSession</code></a>
|
158 |
············signal·is·received.
|
158 |
············signal·is·received.
|
159 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>flags</code></em>:</span></dt><dd>Flags</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953408800"></a><h3><a·id="org.gnome.SessionManager.ClientPrivate::EndSession"></a>The·EndSession·signal</h3><a·id="idm140425953407808"·class="indexterm"></a><pre·class="programlisting">EndSession·('u'flags)</pre><p>This·signal·is·used·to·inform·the·client·that·the
|
159 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>flags</code></em>:</span></dt><dd>Flags</dd></dl></div></div><div·class="refsect2"><a·id="idm140367234934576"></a><h3><a·id="org.gnome.SessionManager.ClientPrivate::EndSession"></a>The·EndSession·signal</h3><a·id="idm140367234933584"·class="indexterm"></a><pre·class="programlisting">EndSession·('u'flags)</pre><p>This·signal·is·used·to·inform·the·client·that·the
|
160 |
············session·is·about·to·end.··The·client·must·respond·by
|
160 |
············session·is·about·to·end.··The·client·must·respond·by
|
161 |
············calling
|
161 |
············calling
|
162 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate.EndSessionResponse"><code·class="function">EndSessionResponse</code></a>
|
162 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate.EndSessionResponse"><code·class="function">EndSessionResponse</code></a>
|
163 |
············within·ten·seconds·of·the·signal·emission.
|
163 |
············within·ten·seconds·of·the·signal·emission.
|
164 |
··········</p><p>
|
164 |
··········</p><p>
|
165 |
············The·client·must·not·attempt·to·interact·with·the·user·in
|
165 |
············The·client·must·not·attempt·to·interact·with·the·user·in
|
166 |
············response·to·this·signal.··The·application·will·be·given·a
|
166 |
············response·to·this·signal.··The·application·will·be·given·a
|
167 |
············maxium·of·ten·seconds·to·perform·any·actions·required·for
|
167 |
············maxium·of·ten·seconds·to·perform·any·actions·required·for
|
168 |
············a·clean·shutdown.
|
168 |
············a·clean·shutdown.
|
169 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>flags</code></em>:</span></dt><dd>Flags</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953402192"></a><h3><a·id="org.gnome.SessionManager.ClientPrivate::CancelEndSession"></a>The·CancelEndSession·signal</h3><a·id="idm140425953400960"·class="indexterm"></a><pre·class="programlisting">CancelEndSession·()</pre><p>
|
169 |
··········</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>flags</code></em>:</span></dt><dd>Flags</dd></dl></div></div><div·class="refsect2"><a·id="idm140367234927968"></a><h3><a·id="org.gnome.SessionManager.ClientPrivate::CancelEndSession"></a>The·CancelEndSession·signal</h3><a·id="idm140367234926736"·class="indexterm"></a><pre·class="programlisting">CancelEndSession·()</pre><p>
|
170 |
············This·signal·indicates·to·the·client·that·a·previous·emission·of
|
170 |
············This·signal·indicates·to·the·client·that·a·previous·emission·of
|
171 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::QueryEndSession"><code·class="literal">QueryEndSession</code></a>
|
171 |
············<a·class="link"·href="#org.gnome.SessionManager.ClientPrivate::QueryEndSession"><code·class="literal">QueryEndSession</code></a>
|
172 |
············has·been·cancelled.··The·client·should·resume·normal·operations.
|
172 |
············has·been·cancelled.··The·client·should·resume·normal·operations.
|
173 |
··········</p></div></div></div><div·class="refentry"><div·class="refentry.separator"><hr·/></div><a·id="org.gnome.SessionManager.Inhibitor"></a><div·class="titlepage"></div><div·class="refnamediv"><h2>Name</h2><p>org.gnome.SessionManager.Inhibitor·—·Inhibitor·interface</p></div><div·class="refsynopsisdiv"><h2>Methods</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager.Inhibitor.GetAppId">GetAppId</a>(out's'app_id)
|
173 |
··········</p></div></div></div><div·class="refentry"><div·class="refentry.separator"><hr·/></div><a·id="org.gnome.SessionManager.Inhibitor"></a><div·class="titlepage"></div><div·class="refnamediv"><h2>Name</h2><p>org.gnome.SessionManager.Inhibitor·—·Inhibitor·interface</p></div><div·class="refsynopsisdiv"><h2>Methods</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager.Inhibitor.GetAppId">GetAppId</a>(out's'app_id)
|
174 |
<a·class="link"·href="#org.gnome.SessionManager.Inhibitor.GetClientId">GetClientId</a>(out'o'client_id)
|
174 |
<a·class="link"·href="#org.gnome.SessionManager.Inhibitor.GetClientId">GetClientId</a>(out'o'client_id)
|
175 |
<a·class="link"·href="#org.gnome.SessionManager.Inhibitor.GetReason">GetReason</a>(out's'reason)
|
175 |
<a·class="link"·href="#org.gnome.SessionManager.Inhibitor.GetReason">GetReason</a>(out's'reason)
|
176 |
<a·class="link"·href="#org.gnome.SessionManager.Inhibitor.GetFlags">GetFlags</a>(out'u'flags)
|
176 |
<a·class="link"·href="#org.gnome.SessionManager.Inhibitor.GetFlags">GetFlags</a>(out'u'flags)
|
177 |
<a·class="link"·href="#org.gnome.SessionManager.Inhibitor.GetToplevelXid">GetToplevelXid</a>(out'u'xid)
|
177 |
<a·class="link"·href="#org.gnome.SessionManager.Inhibitor.GetToplevelXid">GetToplevelXid</a>(out'u'xid)
|
178 |
</pre></div><div·class="refsect1"><a·id="idm140425953334272"></a><h2>Implemented·Interfaces</h2><p>
|
178 |
</pre></div><div·class="refsect1"><a·id="idm140367234860000"></a><h2>Implemented·Interfaces</h2><p>
|
179 |
····Objects·implementing·org.gnome.SessionManager.Inhibitor·also·implements
|
179 |
····Objects·implementing·org.gnome.SessionManager.Inhibitor·also·implements
|
180 |
····org.freedesktop.DBus.Introspectable,
|
180 |
····org.freedesktop.DBus.Introspectable,
|
181 |
····org.freedesktop.DBus.Properties
|
181 |
····org.freedesktop.DBus.Properties
|
182 |
····</p></div><div·class="refsect1"><a·id="idm140425953332464"></a><h2>Description</h2><p></p></div><div·class="refsect1"><a·id="idm140425953330960"></a><h2>Details</h2><div·class="refsect2"><a·id="idm140425953329840"></a><h3><a·id="org.gnome.SessionManager.Inhibitor.GetAppId"></a>GetAppId·()</h3><a·id="idm140425953328848"·class="indexterm"></a><pre·class="programlisting">GetAppId·(out's'app_id)</pre><p>Return·the·application·ID·associated·with·this·inhibit.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>app_id</code></em>:</span></dt><dd>The·identifier·for·the·associated·application</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953325200"></a><h3><a·id="org.gnome.SessionManager.Inhibitor.GetClientId"></a>GetClientId·()</h3><a·id="idm140425953324208"·class="indexterm"></a><pre·class="programlisting">GetClientId·(out'o'client_id)</pre><p>Return·the·client·object·path·associated·with·this·inhibit.</p><div·class="variablelist"><dl·class="vari·✂
|
182 |
····</p></div><div·class="refsect1"><a·id="idm140367234858192"></a><h2>Description</h2><p></p></div><div·class="refsect1"><a·id="idm140367234856688"></a><h2>Details</h2><div·class="refsect2"><a·id="idm140367234855568"></a><h3><a·id="org.gnome.SessionManager.Inhibitor.GetAppId"></a>GetAppId·()</h3><a·id="idm140367234854576"·class="indexterm"></a><pre·class="programlisting">GetAppId·(out's'app_id)</pre><p>Return·the·application·ID·associated·with·this·inhibit.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>app_id</code></em>:</span></dt><dd>The·identifier·for·the·associated·application</dd></dl></div></div><div·class="refsect2"><a·id="idm140367234850928"></a><h3><a·id="org.gnome.SessionManager.Inhibitor.GetClientId"></a>GetClientId·()</h3><a·id="idm140367234849936"·class="indexterm"></a><pre·class="programlisting">GetClientId·(out'o'client_id)</pre><p>Return·the·client·object·path·associated·with·this·inhibit.</p><div·class="variablelist"><dl·class="vari·✂
|
183 |
<a·class="link"·href="#org.gnome.SessionManager.Presence.SetStatusText">SetStatusText</a>(in's'status_text)
|
183 |
<a·class="link"·href="#org.gnome.SessionManager.Presence.SetStatusText">SetStatusText</a>(in's'status_text)
|
184 |
</pre></div><div·class="refsect1"><a·id="idm140425953259808"></a><h2>Signals</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager.Presence::StatusChanged">StatusChanged</a>('u'status)
|
184 |
</pre></div><div·class="refsect1"><a·id="idm140367234785552"></a><h2>Signals</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager.Presence::StatusChanged">StatusChanged</a>('u'status)
|
185 |
<a·class="link"·href="#org.gnome.SessionManager.Presence::StatusTextChanged">StatusTextChanged</a>('s'status_text)
|
185 |
<a·class="link"·href="#org.gnome.SessionManager.Presence::StatusTextChanged">StatusTextChanged</a>('s'status_text)
|
186 |
</pre></div><div·class="refsect1"><a·id="idm140425953256816"></a><h2>Implemented·Interfaces</h2><p>
|
186 |
</pre></div><div·class="refsect1"><a·id="idm140367234782560"></a><h2>Implemented·Interfaces</h2><p>
|
187 |
····Objects·implementing·org.gnome.SessionManager.Presence·also·implements
|
187 |
····Objects·implementing·org.gnome.SessionManager.Presence·also·implements
|
188 |
····org.freedesktop.DBus.Introspectable,
|
188 |
····org.freedesktop.DBus.Introspectable,
|
189 |
····org.freedesktop.DBus.Properties
|
189 |
····org.freedesktop.DBus.Properties
|
190 |
····</p></div><div·class="refsect1"><a·id="idm140425953255008"></a><h2>Properties</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager.Presence:status">'status'</a>readwrite'u'
|
190 |
····</p></div><div·class="refsect1"><a·id="idm140367234780752"></a><h2>Properties</h2><pre·class="synopsis"><a·class="link"·href="#org.gnome.SessionManager.Presence:status">'status'</a>readwrite'u'
|
191 |
<a·class="link"·href="#org.gnome.SessionManager.Presence:status-text">'status-text'</a>readwrite's'
|
191 |
<a·class="link"·href="#org.gnome.SessionManager.Presence:status-text">'status-text'</a>readwrite's'
|
192 |
</pre></div><div·class="refsect1"><a·id="idm140425953252016"></a><h2>Description</h2><p></p></div><div·class="refsect1"><a·id="idm140425953250512"></a><h2>Details</h2><div·class="refsect2"><a·id="idm140425953249392"></a><h3><a·id="org.gnome.SessionManager.Presence.SetStatus"></a>SetStatus·()</h3><a·id="idm140425953248400"·class="indexterm"></a><pre·class="programlisting">SetStatus·(in'u'status)</pre><p>Set·the·status·value·of·the·session.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>status</code></em>:</span></dt><dd>The·status·value</dd></dl></div></div><div·class="refsect2"><a·id="idm140425953244752"></a><h3><a·id="org.gnome.SessionManager.Presence.SetStatusText"></a>SetStatusText·()</h3><a·id="idm140425953243760"·class="indexterm"></a><pre·class="programlisting">SetStatusText·(in's'status_text)</pre><p>Set·the·descriptive·status·text·for·the·session.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"·✂
|
192 |
</pre></div><div·class="refsect1"><a·id="idm140367234777760"></a><h2>Description</h2><p></p></div><div·class="refsect1"><a·id="idm140367234776256"></a><h2>Details</h2><div·class="refsect2"><a·id="idm140367234775136"></a><h3><a·id="org.gnome.SessionManager.Presence.SetStatus"></a>SetStatus·()</h3><a·id="idm140367234774144"·class="indexterm"></a><pre·class="programlisting">SetStatus·(in'u'status)</pre><p>Set·the·status·value·of·the·session.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"><code>status</code></em>:</span></dt><dd>The·status·value</dd></dl></div></div><div·class="refsect2"><a·id="idm140367234770496"></a><h3><a·id="org.gnome.SessionManager.Presence.SetStatusText"></a>SetStatusText·()</h3><a·id="idm140367234769504"·class="indexterm"></a><pre·class="programlisting">SetStatusText·(in's'status_text)</pre><p>Set·the·descriptive·status·text·for·the·session.</p><div·class="variablelist"><dl·class="variablelist"><dt><span·class="term"><em·class="parameter"·✂
|
193 |
</pre><p>
|
193 |
</pre><p>
|
194 |
············The·status·of·the·session.
|
194 |
············The·status·of·the·session.
|
195 |
··········</p><p>
|
195 |
··········</p><p>
|
196 |
············The·status·parameter·must·be·one·of·the·following:
|
196 |
············The·status·parameter·must·be·one·of·the·following:
|
197 |
············</p><div·class="itemizedlist"><ul·class="itemizedlist"·style="list-style-type:·disc;·"><li·class="listitem"><span·class="bold"><strong>0:·</strong></span>Available</li><li·class="listitem"><span·class="bold"><strong>1:·</strong></span>Invisible</li><li·class="listitem"><span·class="bold"><strong>2:·</strong></span>Busy</li><li·class="listitem"><span·class="bold"><strong>3:·</strong></span>Idle</li></ul></div><p>
|
197 |
············</p><div·class="itemizedlist"><ul·class="itemizedlist"·style="list-style-type:·disc;·"><li·class="listitem"><span·class="bold"><strong>0:·</strong></span>Available</li><li·class="listitem"><span·class="bold"><strong>1:·</strong></span>Invisible</li><li·class="listitem"><span·class="bold"><strong>2:·</strong></span>Busy</li><li·class="listitem"><span·class="bold"><strong>3:·</strong></span>Idle</li></ul></div><p>
|
198 |
··········</p></div><div·class="refsect2"><a·id="idm140425953221168"></a><h3><a·id="org.gnome.SessionManager.Presence:status-text"></a>The·"status-text"·property</h3><a·id="idm140425953220176"·class="indexterm"></a><pre·class="programlisting">'status-text'readwrite's'
|
198 |
··········</p></div><div·class="refsect2"><a·id="idm140367234746912"></a><h3><a·id="org.gnome.SessionManager.Presence:status-text"></a>The·"status-text"·property</h3><a·id="idm140367234745920"·class="indexterm"></a><pre·class="programlisting">'status-text'readwrite's'
|
199 |
</pre><p>The·descriptive·status·for·the·session.
|
199 |
</pre><p>The·descriptive·status·for·the·session.
|
200 |
··········</p></div></div></div></div></div><div·class="index"><div·class="titlepage"><div><div><h1·class="title"><a·id="idm140425953207840"></a>Index</h1></div></div></div><div·class="index"><div·class="indexdiv"><h3>C</h3><dl><dt>CancelEndSession</dt><dd><dl><dt>org.gnome.SessionManager.ClientPrivate,·<a·class="indexterm"·href="#idm140425953402192">The·CancelEndSession·signal</a></dt></dl></dd><dt>CanShutdown</dt><dd><dl><dt>org.gnome.SessionManager,·<a·class="indexterm"·href="#idm140425953764320">CanShutdown·()</a></dt></dl></dd><dt>ClientAdded</dt><dd><dl><dt>org.gnome.SessionManager,·<a·class="indexterm"·href="#idm140425953745168">The·ClientAdded·signal</a></dt></dl></dd><dt>ClientRemoved</dt><dd><dl><dt>org.gnome.SessionManager,·<a·class="indexterm"·href="#idm140425953740448">The·ClientRemoved·signal</a></dt></dl></dd></dl></div><div·class="indexdiv"><h3>E</h3><dl><dt>EndSession</dt><dd><dl><dt>org.gnome.SessionManager.ClientPrivate,·<a·class="indexterm"·href="#idm140425953408800">The·EndSession·signal<·✂
|
200 |
··········</p></div></div></div></div></div><div·class="index"><div·class="titlepage"><div><div><h1·class="title"><a·id="idm140367234733584"></a>Index</h1></div></div></div><div·class="index"><div·class="indexdiv"><h3>C</h3><dl><dt>CancelEndSession</dt><dd><dl><dt>org.gnome.SessionManager.ClientPrivate,·<a·class="indexterm"·href="#idm140367234927968">The·CancelEndSession·signal</a></dt></dl></dd><dt>CanShutdown</dt><dd><dl><dt>org.gnome.SessionManager,·<a·class="indexterm"·href="#idm140367235290240">CanShutdown·()</a></dt></dl></dd><dt>ClientAdded</dt><dd><dl><dt>org.gnome.SessionManager,·<a·class="indexterm"·href="#idm140367235271088">The·ClientAdded·signal</a></dt></dl></dd><dt>ClientRemoved</dt><dd><dl><dt>org.gnome.SessionManager,·<a·class="indexterm"·href="#idm140367235266368">The·ClientRemoved·signal</a></dt></dl></dd></dl></div><div·class="indexdiv"><h3>E</h3><dl><dt>EndSession</dt><dd><dl><dt>org.gnome.SessionManager.ClientPrivate,·<a·class="indexterm"·href="#idm140367234934576">The·EndSession·signal<·✂
|