94.1 KB
p7nixcyv4yi9qd7s1rjagvj6wvkhkwn5-gnome-session-3.38.0/A vs.
p7nixcyv4yi9qd7s1rjagvj6wvkhkwn5-gnome-session-3.38.0/B
94.0 KB
share
94.0 KB
doc
94.0 KB
gnome-session
93.9 KB
dbus
93.9 KB
gnome-session.html
Offset 1, 11 lines modifiedOffset 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.​38.​0·​Documentation</​title><link·​rel="stylesheet"·​type="text/​css"·​href="docbook.​css"·​/​><meta·​name="generator"·​content="DocBook·​XSL·​Stylesheets·​Vsnapshot"·​/​></​head><body><div·​class="book"><div·​class="titlepage"><di​v><div><h1·​class="title"><a·​id="index"></​a>GNOME·​Session·​3.​38.​0·​Documentation</​h1></​div><div><div·​class="authorgroup"><​div·​class="author"><h3·​class="author"><span·​class="firstname">Wil​liam·​Jon</​span>·​<span·​class="surname">McCan​n</​span></​h3><div·​class="affiliation"><​div·​class="address"><p><b​r·​/​>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.​38.​0·​Documentation</​title><link·​rel="stylesheet"·​type="text/​css"·​href="docbook.​css"·​/​><meta·​name="generator"·​content="DocBook·​XSL·​Stylesheets·​Vsnapshot"·​/​></​head><body><div·​class="book"><div·​class="titlepage"><di​v><div><h1·​class="title"><a·​id="index"></​a>GNOME·​Session·​3.​38.​0·​Documentation</​h1></​div><div><div·​class="authorgroup"><​div·​class="author"><h3·​class="author"><span·​class="firstname">Wil​liam·​Jon</​span>·​<span·​class="surname">McCan​n</​span></​h3><div·​class="affiliation"><​div·​class="address"><p><b​r·​/​>
3             <code·​class="email">&lt;​<a·​class="email"·​href="mailto:​jmccann@redhat.​com">jmccann@redhat.​com</​a>&gt;​</​code><br·​/​>3             <code·​class="email">&lt;​<a·​class="email"·​href="mailto:​jmccann@redhat.​com">jmccann@redhat.​com</​a>&gt;​</​code><br·​/​>
4           </​p></​div></​div></​div></​div></​div><div><p·​class="releaseinfo">V​ersion·​3.​38.​0</​p></​div></​div><hr·​/​></​div><div·​class="toc"><p><stron​g>Table·​of·​Contents</​strong></​p><dl·​class="toc"><dt><span​·​class="part"><a·​href="#idm14073732201​9632">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.​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·​interfa[·​.​.​.​·​truncated·​by·​diffoscope;​·​len:​·​214,​·​SHA1:​·1df44091b9e5efaf80ac0​efe266d432fe427a9ec·​.​.​.​·​]"></​a>Part I.​ Reference</​h1></​div></​div></​div><div·​class="toc"><p><stron​g>Table·​of·​Contents</​strong></​p><dl·​class="toc"><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.​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></​dd></​dl></​div><div·​class="reference"><di​v·​class="titlepage"><di​v><div><h1·​class="title"><a·​id="dbus-​reference"></​a>D-​Bus·​API·​Reference</​h1></​div></​div><hr·​/​></​div><div·​class="partintro"><di​v></​div><p>4           </​p></​div></​div></​div></​div></​div><div><p·​class="releaseinfo">V​ersion·​3.​38.​0</​p></​div></​div><hr·​/​></​div><div·​class="toc"><p><stron​g>Table·​of·​Contents</​strong></​p><dl·​class="toc"><dt><span​·​class="part"><a·​href="#idm14073732208​9504">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.​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·​interfa[·​.​.​.​·​truncated·​by·​diffoscope;​·​len:​·​214,​·​SHA1:​·c6fe850d213a9916148ad​5ca08d7a4ad4963f0d1·​.​.​.​·​]"></​a>Part I.​ Reference</​h1></​div></​div></​div><div·​class="toc"><p><stron​g>Table·​of·​Contents</​strong></​p><dl·​class="toc"><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.​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></​dd></​dl></​div><div·​class="reference"><di​v·​class="titlepage"><di​v><div><h1·​class="title"><a·​id="dbus-​reference"></​a>D-​Bus·​API·​Reference</​h1></​div></​div><hr·​/​></​div><div·​class="partintro"><di​v></​div><p>
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><stron​g>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·​id="org.​gnome.​SessionManager"></​a><div·​class="titlepage"></​div><div·​class="refnamediv"><h​2>Name</​h2><p>org.​gnome.​SessionManager·​—·​SessionManager·​interface</​p></​div><div·​class="refsynopsisdiv​"><h2>Methods</​h2><pre·​class="synopsis"><a·​class="link"·​href="#org.​gnome.​SessionManager.​Setenv">Setenv</​a>······················​(in··​'s'··​variable,​6 ········​</​p><div·​class="toc"><p><stron​g>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·​id="org.​gnome.​SessionManager"></​a><div·​class="titlepage"></​div><div·​class="refnamediv"><h​2>Name</​h2><p>org.​gnome.​SessionManager·​—·​SessionManager·​interface</​p></​div><div·​class="refsynopsisdiv​"><h2>Methods</​h2><pre·​class="synopsis"><a·​class="link"·​href="#org.​gnome.​SessionManager.​Setenv">Setenv</​a>······················​(in··​'s'··​variable,​
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 29, 34 lines modifiedOffset 29, 34 lines modified
29 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Shutdown">Shutdown</​a>····················​()​29 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Shutdown">Shutdown</​a>····················​()​
30 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Reboot">Reboot</​a>······················​()​30 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Reboot">Reboot</​a>······················​()​
31 <a·​class="link"·​href="#org.​gnome.​SessionManager.​CanShutdown">CanShutd​own</​a>·················​(out·​'b'··​is_available)​31 <a·​class="link"·​href="#org.​gnome.​SessionManager.​CanShutdown">CanShutd​own</​a>·················​(out·​'b'··​is_available)​
32 <a·​class="link"·​href="#org.​gnome.​SessionManager.​SetRebootToFirmwareSe​tup">SetRebootToFirmw​areSetup</​a>····​(in··​'b'··​enable)​32 <a·​class="link"·​href="#org.​gnome.​SessionManager.​SetRebootToFirmwareSe​tup">SetRebootToFirmw​areSetup</​a>····​(in··​'b'··​enable)​
33 <a·​class="link"·​href="#org.​gnome.​SessionManager.​CanRebootToFirmwareSe​tup">CanRebootToFirmw​areSetup</​a>····​(out·​'b'··​is_available)​33 <a·​class="link"·​href="#org.​gnome.​SessionManager.​CanRebootToFirmwareSe​tup">CanRebootToFirmw​areSetup</​a>····​(out·​'b'··​is_available)​
34 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Logout">Logout</​a>······················​(in··​'u'··​mode)​34 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Logout">Logout</​a>······················​(in··​'u'··​mode)​
35 <a·​class="link"·​href="#org.​gnome.​SessionManager.​IsSessionRunning">IsS​essionRunning</​a>············​(out·​'b'··​running)​35 <a·​class="link"·​href="#org.​gnome.​SessionManager.​IsSessionRunning">IsS​essionRunning</​a>············​(out·​'b'··​running)​
36 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731745987​2"></​a><h2>Signals</​h2><pre·​class="synopsis"><a·​class="link"·​href="#org.​gnome.​SessionManager:​:​ClientAdded">ClientAd​ded</​a>······​('o'·​id)​36 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731745608​0"></​a><h2>Signals</​h2><pre·​class="synopsis"><a·​class="link"·​href="#org.​gnome.​SessionManager:​:​ClientAdded">ClientAd​ded</​a>······​('o'·​id)​
37 <a·​class="link"·​href="#org.​gnome.​SessionManager:​:​ClientRemoved">Client​Removed</​a>····​('o'·​id)​37 <a·​class="link"·​href="#org.​gnome.​SessionManager:​:​ClientRemoved">Client​Removed</​a>····​('o'·​id)​
38 <a·​class="link"·​href="#org.​gnome.​SessionManager:​:​InhibitorAdded">Inhib​itorAdded</​a>···​('o'·​id)​38 <a·​class="link"·​href="#org.​gnome.​SessionManager:​:​InhibitorAdded">Inhib​itorAdded</​a>···​('o'·​id)​
39 <a·​class="link"·​href="#org.​gnome.​SessionManager:​:​InhibitorRemoved">Inh​ibitorRemoved</​a>·​('o'·​id)​39 <a·​class="link"·​href="#org.​gnome.​SessionManager:​:​InhibitorRemoved">Inh​ibitorRemoved</​a>·​('o'·​id)​
40 <a·​class="link"·​href="#org.​gnome.​SessionManager:​:​SessionRunning">Sessi​onRunning</​a>···​()​40 <a·​class="link"·​href="#org.​gnome.​SessionManager:​:​SessionRunning">Sessi​onRunning</​a>···​()​
41 <a·​class="link"·​href="#org.​gnome.​SessionManager:​:​SessionOver">SessionO​ver</​a>······​()​41 <a·​class="link"·​href="#org.​gnome.​SessionManager:​:​SessionOver">SessionO​ver</​a>······​()​
42 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731745438​4"></​a><h2>Implemented·​Interfaces</​h2><p>42 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731745059​2"></​a><h2>Implemented·​Interfaces</​h2><p>
43 ····​Objects·​implementing·​org.​gnome.​SessionManager·​also·​implements43 ····​Objects·​implementing·​org.​gnome.​SessionManager·​also·​implements
44 ····​org.​freedesktop.​DBus.​Introspectable,​44 ····​org.​freedesktop.​DBus.​Introspectable,​
45 ····​org.​freedesktop.​DBus.​Properties45 ····​org.​freedesktop.​DBus.​Properties
46 ····​</​p></​div><div·​class="refsect1"><a·​id="idm14073731745259​2"></​a><h2>Properties</​h2><pre·​class="synopsis"><a·​class="link"·​href="#org.​gnome.​SessionManager:​SessionName">'Session​Name'</​a>······​read······​'s'46 ····​</​p></​div><div·​class="refsect1"><a·​id="idm14073731744880​0"></​a><h2>Properties</​h2><pre·​class="synopsis"><a·​class="link"·​href="#org.​gnome.​SessionManager:​SessionName">'Session​Name'</​a>······​read······​'s'
47 <a·​class="link"·​href="#org.​gnome.​SessionManager:​Renderer">'Renderer'<​/​a>·········​read······​'s'47 <a·​class="link"·​href="#org.​gnome.​SessionManager:​Renderer">'Renderer'<​/​a>·········​read······​'s'
48 <a·​class="link"·​href="#org.​gnome.​SessionManager:​SessionIsActive">'Ses​sionIsActive'</​a>··​read······​'b'48 <a·​class="link"·​href="#org.​gnome.​SessionManager:​SessionIsActive">'Ses​sionIsActive'</​a>··​read······​'b'
49 <a·​class="link"·​href="#org.​gnome.​SessionManager:​InhibitedActions">'In​hibitedActions'</​a>·​read······​'u'49 <a·​class="link"·​href="#org.​gnome.​SessionManager:​InhibitedActions">'In​hibitedActions'</​a>·​read······​'u'
50 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731744835​2"></​a><h2>Description</​h2><p></​p></​div><div·​class="refsect1"><a·​id="idm14073731744684​8"></​a><h2>Details</​h2><div·​class="refsect2"><a·​id="idm14073731744572​8"></​a><h3><a·​id="org.​gnome.​SessionManager.​Setenv"></​a>Setenv·​()​</​h3><a·​id="idm14073731744473​6"·​class="indexterm"></​a><pre·​class="programlisting​">Setenv·​(in··​'s'·​variable,​50 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731744456​0"></​a><h2>Description</​h2><p></​p></​div><div·​class="refsect1"><a·​id="idm14073731744305​6"></​a><h2>Details</​h2><div·​class="refsect2"><a·​id="idm14073731744193​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​Setenv"></​a>Setenv·​()​</​h3><a·​id="idm14073731744094​4"·​class="indexterm"></​a><pre·​class="programlisting​">Setenv·​(in··​'s'·​variable,​
51 ········​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"><co​de>variable</​code></​em>:​</​span></​dt><dd>The·​variable·​name</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>value</​code></​em>:​</​span></​dt><dd>The·​value</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731743982​4"></​a><h3><a·​id="org.​gnome.​SessionManager.​GetLocale"></​a>GetLocale·​()​</​h3><a·​id="idm14073731743883​2"·​class="indexterm"></​a><pre·​class="programlisting​">GetLocale·​(in··​'i'·​category,​51 ········​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"><co​de>variable</​code></​em>:​</​span></​dt><dd>The·​variable·​name</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>value</​code></​em>:​</​span></​dt><dd>The·​value</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731743603​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​GetLocale"></​a>GetLocale·​()​</​h3><a·​id="idm14073731743504​0"·​class="indexterm"></​a><pre·​class="programlisting​">GetLocale·​(in··​'i'·​category,​
52 ···········​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"><co​de>category</​code></​em>:​</​span></​dt><dd>The·​locale·​category</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>value</​code></​em>:​</​span></​dt><dd>The·​value</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731743392​0"></​a><h3><a·​id="org.​gnome.​SessionManager.​InitializationError">​</​a>InitializationError​·​()​</​h3><a·​id="idm14073731743292​8"·​class="indexterm"></​a><pre·​class="programlisting​">InitializationError​·​(in··​'s'·​message,​52 ···········​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"><co​de>category</​code></​em>:​</​span></​dt><dd>The·​locale·​category</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>value</​code></​em>:​</​span></​dt><dd>The·​value</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731743012​8"></​a><h3><a·​id="org.​gnome.​SessionManager.​InitializationError">​</​a>InitializationError​·​()​</​h3><a·​id="idm14073731742913​6"·​class="indexterm"></​a><pre·​class="programlisting​">InitializationError​·​(in··​'s'·​message,​
53 ·····················​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"><co​de>message</​code></​em>:​</​span></​dt><dd>The·​error·​message</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>fatal</​code></​em>:​</​span></​dt><dd>Whether·​the·​error·​should·​be·​treated·​as·​fatal</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731742779​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​Initialized"></​a>Initialized·​()​</​h3><a·​id="idm14073731742680​0"·​class="indexterm"></​a><pre·​class="programlisting​">Initialized·​()​</​pre><p>Run·​from·​systemd·​to·​signal·​that·​gnome-​session-​initialized.​target·​has·​been·​reached.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731742468​8"></​a><h3><a·​id="org.​gnome.​SessionManager.​RegisterClient"></​a>RegisterClient·​()​</​h3><a·​id="idm14073731742369​6"·​class="indexterm"></​a><pre·​class="programlisting​">RegisterClient·​(in··​'s'·​app_id,​53 ·····················​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"><co​de>message</​code></​em>:​</​span></​dt><dd>The·​error·​message</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>fatal</​code></​em>:​</​span></​dt><dd>Whether·​the·​error·​should·​be·​treated·​as·​fatal</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731742409​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​Initialized"></​a>Initialized·​()​</​h3><a·​id="idm14073731742310​4"·​class="indexterm"></​a><pre·​class="programlisting​">Initialized·​()​</​pre><p>Run·​from·​systemd·​to·​signal·​that·​gnome-​session-​initialized.​target·​has·​been·​reached.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731742099​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​RegisterClient"></​a>RegisterClient·​()​</​h3><a·​id="idm14073731742000​0"·​class="indexterm"></​a><pre·​class="programlisting​">RegisterClient·​(in··​'s'·​app_id,​
54 ················​in··​'s'·​client_startup_id,​54 ················​in··​'s'·​client_startup_id,​
55 ················​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"><co​de>app_id</​code></​em>:​</​span></​dt><dd>The·​application·​identifier</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>client_startup_id<​/​code></​em>:​</​span></​dt><dd>Client·​startup·​identifier</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>client_id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​of·​the·​newly·​registered·​client</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731741739​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​UnregisterClient"></​a>UnregisterClient·​()​</​h3><a·​id="idm14073731741640​0"·​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"><co​de>client_id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​of·​the·​client</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731741267​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​Inhibit"></​a>Inhibit·​()​</​h3><a·​id="idm14073731741168​0"·​class="indexterm"></​a><pre·​class="programlisting​">Inhibit·​(in··​'s'·​app_id,​55 ················​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"><co​de>app_id</​code></​em>:​</​span></​dt><dd>The·​application·​identifier</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>client_startup_id<​/​code></​em>:​</​span></​dt><dd>Client·​startup·​identifier</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>client_id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​of·​the·​newly·​registered·​client</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731741369​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​UnregisterClient"></​a>UnregisterClient·​()​</​h3><a·​id="idm14073731741270​4"·​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"><co​de>client_id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​of·​the·​client</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731740905​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​Inhibit"></​a>Inhibit·​()​</​h3><a·​id="idm14073731740806​4"·​class="indexterm"></​a><pre·​class="programlisting​">Inhibit·​(in··​'s'·​app_id,​
56 ·········​in··​'u'·​toplevel_xid,​56 ·········​in··​'u'·​toplevel_xid,​
57 ·········​in··​'s'·​reason,​57 ·········​in··​'s'·​reason,​
58 ·········​in··​'u'·​flags,​58 ·········​in··​'u'·​flags,​
59 ·········​out·​'u'·​inhibit_cookie)​</​pre><p>Applications·​should·​invoke·​this·​method·​when·​they·​begin·​an·​operation·​that59 ·········​out·​'u'·​inhibit_cookie)​</​pre><p>Applications·​should·​invoke·​this·​method·​when·​they·​begin·​an·​operation·​that
60 ············​should·​not·​be·​interrupted,​·​such·​as·​creating·​a·​CD·​or·​DVD.​··​The·​types·​of·​actions60 ············​should·​not·​be·​interrupted,​·​such·​as·​creating·​a·​CD·​or·​DVD.​··​The·​types·​of·​actions
61 ············​that·​may·​be·​blocked·​are·​specified·​by·​the·​flags·​parameter.​··​When·​the·​application61 ············​that·​may·​be·​blocked·​are·​specified·​by·​the·​flags·​parameter.​··​When·​the·​application
62 ············​completes·​the·​operation·​it·​should·​call·​<a·​class="link"·​href="#org.​gnome.​SessionManager.​Uninhibit"><code·​class="function">Unin​hibit()​</​code></​a>62 ············​completes·​the·​operation·​it·​should·​call·​<a·​class="link"·​href="#org.​gnome.​SessionManager.​Uninhibit"><code·​class="function">Unin​hibit()​</​code></​a>
Offset 71, 78 lines modifiedOffset 71, 78 lines modified
71 ············​The·​flags·​parameter·​must·​include·​at·​least·​one·​of·​the·​following:​71 ············​The·​flags·​parameter·​must·​include·​at·​least·​one·​of·​the·​following:​
72 ············​</​p><div·​class="itemizedlist">​<ul·​class="itemizedlist"·​style="list-​style-​type:​·​disc;​·​"><li·​class="listitem"><spa​n·​class="bold"><strong>​1:​·​</​strong></​span>Inhibit·​logging·​out</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​2:​·​</​strong></​span>Inhibit·​user·​switching</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​4:​·​</​strong></​span>Inhibit·​suspending·​the·​session·​or·​computer</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​8:​·​</​strong></​span>Inhibit·​the·​session·​being·​marked·​as·​idle</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​16:​·​</​strong></​span>Inhibit·​auto-​mounting·​removable·​media·​for·​the·​session</​li></​ul></​div><p>72 ············​</​p><div·​class="itemizedlist">​<ul·​class="itemizedlist"·​style="list-​style-​type:​·​disc;​·​"><li·​class="listitem"><spa​n·​class="bold"><strong>​1:​·​</​strong></​span>Inhibit·​logging·​out</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​2:​·​</​strong></​span>Inhibit·​user·​switching</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​4:​·​</​strong></​span>Inhibit·​suspending·​the·​session·​or·​computer</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​8:​·​</​strong></​span>Inhibit·​the·​session·​being·​marked·​as·​idle</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​16:​·​</​strong></​span>Inhibit·​auto-​mounting·​removable·​media·​for·​the·​session</​li></​ul></​div><p>
73 ············​Values·​for·​flags·​may·​be·​bitwise·​or'ed·​together.​73 ············​Values·​for·​flags·​may·​be·​bitwise·​or'ed·​together.​
74 ··········​</​p><p>74 ··········​</​p><p>
75 ············​The·​returned·​cookie·​is·​used·​to·​uniquely·​identify·​this·​request.​··​It·​should·​be·​used75 ············​The·​returned·​cookie·​is·​used·​to·​uniquely·​identify·​this·​request.​··​It·​should·​be·​used
76 ············​as·​an·​argument·​to·​<a·​class="link"·​href="#org.​gnome.​SessionManager.​Uninhibit"><code·​class="function">Unin​hibit()​</​code></​a>·​in76 ············​as·​an·​argument·​to·​<a·​class="link"·​href="#org.​gnome.​SessionManager.​Uninhibit"><code·​class="function">Unin​hibit()​</​code></​a>·​in
77 ············​order·​to·​remove·​the·​request.​77 ············​order·​to·​remove·​the·​request.​
78 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>app_id</​code></​em>:​</​span></​dt><dd>The·​application·​identifier</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>toplevel_xid</​code></​em>:​</​span></​dt><dd>The·​toplevel·​X·​window·​identifier</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>reason</​code></​em>:​</​span></​dt><dd>The·​reason·​for·​the·​inhibit</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>flags</​code></​em>:​</​span></​dt><dd>Flags·​that·​specify·​what·​should·​be·​inhibited</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>inhibit_cookie</​code></​em>:​</​span></​dt><dd>The·​cookie</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731739414​4"></​a><h3><a·​id="org.​gnome.​SessionManager.​Uninhibit"></​a>Uninhibit·​()​</​h3><a·​id="idm14073731739315​2"·​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="function">Inhi​bit()​</​code></​a>·​identified·​by·​the·​cookie.​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>inhibit_cookie</​code></​em>:​</​span></​dt><dd>The·​cookie</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731738851​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​IsInhibited"></​a>IsInhibited·​()​</​h3><a·​id="idm14073731738752​0"·​class="indexterm"></​a><pre·​class="programlisting​">IsInhibited·​(in··​'u'·​flags,​78 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>app_id</​code></​em>:​</​span></​dt><dd>The·​application·​identifier</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>toplevel_xid</​code></​em>:​</​span></​dt><dd>The·​toplevel·​X·​window·​identifier</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>reason</​code></​em>:​</​span></​dt><dd>The·​reason·​for·​the·​inhibit</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>flags</​code></​em>:​</​span></​dt><dd>Flags·​that·​specify·​what·​should·​be·​inhibited</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>inhibit_cookie</​code></​em>:​</​span></​dt><dd>The·​cookie</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731739060​8"></​a><h3><a·​id="org.​gnome.​SessionManager.​Uninhibit"></​a>Uninhibit·​()​</​h3><a·​id="idm14073731738961​6"·​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="function">Inhi​bit()​</​code></​a>·​identified·​by·​the·​cookie.​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>inhibit_cookie</​code></​em>:​</​span></​dt><dd>The·​cookie</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731738497​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​IsInhibited"></​a>IsInhibited·​()​</​h3><a·​id="idm14073731738398​4"·​class="indexterm"></​a><pre·​class="programlisting​">IsInhibited·​(in··​'u'·​flags,​
79 ·············​out·​'b'·​is_inhibited)​</​pre><p>Determine·​if·​operation(s)​·​specified·​by·​the·​flags79 ·············​out·​'b'·​is_inhibited)​</​pre><p>Determine·​if·​operation(s)​·​specified·​by·​the·​flags
80 ············​are·​currently·​inhibited.​··​Flags·​are·​same·​as·​those·​accepted80 ············​are·​currently·​inhibited.​··​Flags·​are·​same·​as·​those·​accepted
81 ············​by·​the81 ············​by·​the
82 ············​<a·​class="link"·​href="#org.​gnome.​SessionManager.​Inhibit"><code·​class="function">Inhi​bit()​</​code></​a>82 ············​<a·​class="link"·​href="#org.​gnome.​SessionManager.​Inhibit"><code·​class="function">Inhi​bit()​</​code></​a>
83 ············​method.​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>flags</​code></​em>:​</​span></​dt><dd>Flags·​that·​specify·​what·​should·​be·​inhibited</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>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="idm14073731738128​0"></​a><h3><a·​id="org.​gnome.​SessionManager.​GetClients"></​a>GetClients·​()​</​h3><a·​id="idm14073731738028​8"·​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>83 ············​method.​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>flags</​code></​em>:​</​span></​dt><dd>Flags·​that·​specify·​what·​should·​be·​inhibited</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>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="idm14073731737774​4"></​a><h3><a·​id="org.​gnome.​SessionManager.​GetClients"></​a>GetClients·​()​</​h3><a·​id="idm14073731737675​2"·​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>
84 ··········​that·​are·​currently·​known·​to·​the·​session·​manager.​</​p><p>Each·​Client·​ID·​is·​an·​D-​Bus·​object·​path·​for·​the·​object·​that·​implements·​the84 ··········​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
85 ··········​<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"><co​de>clients</​code></​em>:​</​span></​dt><dd>an·​array·​of·​client·​IDs</​dd></​dl></​div><p>85 ··········​<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"><co​de>clients</​code></​em>:​</​span></​dt><dd>an·​array·​of·​client·​IDs</​dd></​dl></​div><p>
86 See·​also:​86 See·​also:​
87 <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="idm14073731737408​0"></​a><h3><a·​id="org.​gnome.​SessionManager.​GetInhibitors"></​a>GetInhibitors·​()​</​h3><a·​id="idm14073731737308​8"·​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>87 <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="idm14073731737054​4"></​a><h3><a·​id="org.​gnome.​SessionManager.​GetInhibitors"></​a>GetInhibitors·​()​</​h3><a·​id="idm14073731736955​2"·​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>
88 ··········​that·​are·​currently·​known·​to·​the·​session·​manager.​</​p><p>Each·​Inhibitor·​ID·​is·​an·​D-​Bus·​object·​path·​for·​the·​object·​that·​implements·​the88 ··········​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
89 ··········​<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"><co​de>inhibitors</​code></​em>:​</​span></​dt><dd>an·​array·​of·​inhibitor·​IDs</​dd></​dl></​div><p>89 ··········​<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"><co​de>inhibitors</​code></​em>:​</​span></​dt><dd>an·​array·​of·​inhibitor·​IDs</​dd></​dl></​div><p>
90 See·​also:​90 See·​also:​
91 <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="idm14073731736688​0"></​a><h3><a·​id="org.​gnome.​SessionManager.​IsAutostartConditionH​andled"></​a>IsAutostartConditio​nHandled·​()​</​h3><a·​id="idm14073731736588​8"·​class="indexterm"></​a><pre·​class="programlisting​">IsAutostartConditio​nHandled·​(in··​'s'·​condition,​91 <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="idm14073731736334​4"></​a><h3><a·​id="org.​gnome.​SessionManager.​IsAutostartConditionH​andled"></​a>IsAutostartConditio​nHandled·​()​</​h3><a·​id="idm14073731736235​2"·​class="indexterm"></​a><pre·​class="programlisting​">IsAutostartConditio​nHandled·​(in··​'s'·​condition,​
92 ·····························​out·​'b'·​handled)​</​pre><p>Allows·​the·​caller·​to·​determine·​whether·​the·​session·​manager·​is92 ·····························​out·​'b'·​handled)​</​pre><p>Allows·​the·​caller·​to·​determine·​whether·​the·​session·​manager·​is
93 ··········​handling·​changes·​to·​the·​specified·​autostart·​condition.​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>condition</​code></​em>:​</​span></​dt><dd>The·​autostart·​condition·​string</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>handled</​code></​em>:​</​span></​dt><dd>True·​if·​condition·​is·​handled,​·​false·​otherwise</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731736072​0"></​a><h3><a·​id="org.​gnome.​SessionManager.​Shutdown"></​a>Shutdown·​()​</​h3><a·​id="idm14073731735972​8"·​class="indexterm"></​a><pre·​class="programlisting​">Shutdown·​()​</​pre><p>Request·​a·​shutdown·​dialog.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731735771​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​Reboot"></​a>Reboot·​()​</​h3><a·​id="idm14073731735672​0"·​class="indexterm"></​a><pre·​class="programlisting​">Reboot·​()​</​pre><p>Request·​a·​reboot·​dialog.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731735470​4"></​a><h3><a·​id="org.​gnome.​SessionManager.​CanShutdown"></​a>CanShutdown·​()​</​h3><a·​id="idm14073731735371​2"·​class="indexterm"></​a><pre·​class="programlisting​">CanShutdown·​(out·​'b'·​is_available)​</​pre><p>Allows·​the·​caller·​to·​determine·​whether·​or·​not·​it's·​okay·​to·​show93 ··········​handling·​changes·​to·​the·​specified·​autostart·​condition.​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>condition</​code></​em>:​</​span></​dt><dd>The·​autostart·​condition·​string</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>handled</​code></​em>:​</​span></​dt><dd>True·​if·​condition·​is·​handled,​·​false·​otherwise</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731735718​4"></​a><h3><a·​id="org.​gnome.​SessionManager.​Shutdown"></​a>Shutdown·​()​</​h3><a·​id="idm14073731735619​2"·​class="indexterm"></​a><pre·​class="programlisting​">Shutdown·​()​</​pre><p>Request·​a·​shutdown·​dialog.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731735417​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​Reboot"></​a>Reboot·​()​</​h3><a·​id="idm14073731735318​4"·​class="indexterm"></​a><pre·​class="programlisting​">Reboot·​()​</​pre><p>Request·​a·​reboot·​dialog.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731735116​8"></​a><h3><a·​id="org.​gnome.​SessionManager.​CanShutdown"></​a>CanShutdown·​()​</​h3><a·​id="idm14073731735017​6"·​class="indexterm"></​a><pre·​class="programlisting​">CanShutdown·​(out·​'b'·​is_available)​</​pre><p>Allows·​the·​caller·​to·​determine·​whether·​or·​not·​it's·​okay·​to·​show
94 ··········​a·​shutdown·​option·​in·​the·​UI</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>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="idm14073731734987​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​SetRebootToFirmwareSe​tup"></​a>SetRebootToFirmware​Setup·​()​</​h3><a·​id="idm14073731734888​0"·​class="indexterm"></​a><pre·​class="programlisting​">SetRebootToFirmware​Setup·​(in··​'b'·​enable)​</​pre><p>Allows·​the·​caller·​to·​indicate·​to·​the·​system's·​firmware·​to·​boot·​into·​setup·​mode</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>enable</​code></​em>:​</​span></​dt><dd>Whether·​we·​should·​reboot·​into·​setup</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731734513​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​CanRebootToFirmwareSe​tup"></​a>CanRebootToFirmware​Setup·​()​</​h3><a·​id="idm14073731734414​4"·​class="indexterm"></​a><pre·​class="programlisting​">CanRebootToFirmware​Setup·​(out·​'b'·​is_available)​</​pre><p>Allows·​the·​caller·​to·​determine·​whether·​or·​not·​it's·​okay·​to·​show94 ··········​a·​shutdown·​option·​in·​the·​UI</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>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="idm14073731734633​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​SetRebootToFirmwareSe​tup"></​a>SetRebootToFirmware​Setup·​()​</​h3><a·​id="idm14073731734534​4"·​class="indexterm"></​a><pre·​class="programlisting​">SetRebootToFirmware​Setup·​(in··​'b'·​enable)​</​pre><p>Allows·​the·​caller·​to·​indicate·​to·​the·​system's·​firmware·​to·​boot·​into·​setup·​mode</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>enable</​code></​em>:​</​span></​dt><dd>Whether·​we·​should·​reboot·​into·​setup</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731734160​0"></​a><h3><a·​id="org.​gnome.​SessionManager.​CanRebootToFirmwareSe​tup"></​a>CanRebootToFirmware​Setup·​()​</​h3><a·​id="idm14073731734060​8"·​class="indexterm"></​a><pre·​class="programlisting​">CanRebootToFirmware​Setup·​(out·​'b'·​is_available)​</​pre><p>Allows·​the·​caller·​to·​determine·​whether·​or·​not·​it's·​okay·​to·​show
95 ··········​a·​reboot·​to·​firmware·​option·​in·​the·​UI</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>is_available</​code></​em>:​</​span></​dt><dd>True·​if·​boot·​into·​setup·​mode·​is·​available·​to·​the·​user,​·​false·​otherwise</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731734028​8"></​a><h3><a·​id="org.​gnome.​SessionManager.​Logout"></​a>Logout·​()​</​h3><a·​id="idm14073731733929​6"·​class="indexterm"></​a><pre·​class="programlisting​">Logout·​(in··​'u'·​mode)​</​pre><p>Request·​a·​logout·​dialog</​p><p>95 ··········​a·​reboot·​to·​firmware·​option·​in·​the·​UI</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>is_available</​code></​em>:​</​span></​dt><dd>True·​if·​boot·​into·​setup·​mode·​is·​available·​to·​the·​user,​·​false·​otherwise</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731733675​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​Logout"></​a>Logout·​()​</​h3><a·​id="idm14073731733576​0"·​class="indexterm"></​a><pre·​class="programlisting​">Logout·​(in··​'u'·​mode)​</​pre><p>Request·​a·​logout·​dialog</​p><p>
96 ············​Allowed·​values·​for·​the·​mode·​parameter·​are:​96 ············​Allowed·​values·​for·​the·​mode·​parameter·​are:​
97 ············​</​p><div·​class="itemizedlist">​<ul·​class="itemizedlist"·​style="list-​style-​type:​·​disc;​·​"><li·​class="listitem"><spa​n·​class="bold"><strong>​0:​·​</​strong></​span>Normal.​</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​1:​·​</​strong></​span>No·​confirmation·​interface·​should·​be·​shown.​</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​2:​·​</​strong></​span>Forcefully·​logout.​··​No·​confirmation·​will·​be·​shown·​and·​any·​inhibitors·​will·​be·​ignored.​</​li></​ul></​div><p>97 ············​</​p><div·​class="itemizedlist">​<ul·​class="itemizedlist"·​style="list-​style-​type:​·​disc;​·​"><li·​class="listitem"><spa​n·​class="bold"><strong>​0:​·​</​strong></​span>Normal.​</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​1:​·​</​strong></​span>No·​confirmation·​interface·​should·​be·​shown.​</​li><li·​class="listitem"><spa​n·​class="bold"><strong>​2:​·​</​strong></​span>Forcefully·​logout.​··​No·​confirmation·​will·​be·​shown·​and·​any·​inhibitors·​will·​be·​ignored.​</​li></​ul></​div><p>
98 ············​Values·​for·​flags·​may·​be·​bitwise·​or'ed·​together.​98 ············​Values·​for·​flags·​may·​be·​bitwise·​or'ed·​together.​
99 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>mode</​code></​em>:​</​span></​dt><dd>The·​type·​of·​logout·​that·​is·​being·​requested</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731733211​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​IsSessionRunning"></​a>IsSessionRunning·​()​</​h3><a·​id="idm14073731733112​0"·​class="indexterm"></​a><pre·​class="programlisting​">IsSessionRunning·​(out·​'b'·​running)​</​pre><p>Allows·​the·​caller·​to·​determine·​whether·​the·​session·​manager99 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>mode</​code></​em>:​</​span></​dt><dd>The·​type·​of·​logout·​that·​is·​being·​requested</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731732857​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​IsSessionRunning"></​a>IsSessionRunning·​()​</​h3><a·​id="idm14073731732758​4"·​class="indexterm"></​a><pre·​class="programlisting​">IsSessionRunning·​(out·​'b'·​running)​</​pre><p>Allows·​the·​caller·​to·​determine·​whether·​the·​session·​manager
100 ··········​has·​entered·​the·​Running·​phase,​·​in·​case·​the·​client·​missed·​the100 ··········​has·​entered·​the·​Running·​phase,​·​in·​case·​the·​client·​missed·​the
101 ··········​SessionRunning·​signal.​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>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="idm14073731732708​8"></​a><h2>Signal·​Details</​h2><div·​class="refsect2"><a·​id="idm14073731732596​8"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​ClientAdded"></​a>The·​ClientAdded·​signal</​h3><a·​id="idm14073731732497​6"·​class="indexterm"></​a><pre·​class="programlisting​">ClientAdded·​('o'·​id)​</​pre><p>Emitted·​when·​a·​client·​has·​been·​added·​to·​the·​session·​manager.​101 ··········​SessionRunning·​signal.​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>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="idm14073731732355​2"></​a><h2>Signal·​Details</​h2><div·​class="refsect2"><a·​id="idm14073731732243​2"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​ClientAdded"></​a>The·​ClientAdded·​signal</​h3><a·​id="idm14073731732144​0"·​class="indexterm"></​a><pre·​class="programlisting​">ClientAdded·​('o'·​id)​</​pre><p>Emitted·​when·​a·​client·​has·​been·​added·​to·​the·​session·​manager.​
102 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​for·​the·​added·​client</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731732124​8"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​ClientRemoved"></​a>The·​ClientRemoved·​signal</​h3><a·​id="idm14073731732025​6"·​class="indexterm"></​a><pre·​class="programlisting​">ClientRemoved·​('o'·​id)​</​pre><p>Emitted·​when·​a·​client·​has·​been·​removed·​from·​the·​session·​manager.​102 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​for·​the·​added·​client</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731731771​2"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​ClientRemoved"></​a>The·​ClientRemoved·​signal</​h3><a·​id="idm14073731731672​0"·​class="indexterm"></​a><pre·​class="programlisting​">ClientRemoved·​('o'·​id)​</​pre><p>Emitted·​when·​a·​client·​has·​been·​removed·​from·​the·​session·​manager.​
103 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​for·​the·​removed·​client</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731731651​2"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​InhibitorAdded"></​a>The·​InhibitorAdded·​signal</​h3><a·​id="idm14073731731552​0"·​class="indexterm"></​a><pre·​class="programlisting​">InhibitorAdded·​('o'·​id)​</​pre><p>Emitted·​when·​an·​inhibitor·​has·​been·​added·​to·​the·​session·​manager.​103 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​for·​the·​removed·​client</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731731297​6"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​InhibitorAdded"></​a>The·​InhibitorAdded·​signal</​h3><a·​id="idm14073731731198​4"·​class="indexterm"></​a><pre·​class="programlisting​">InhibitorAdded·​('o'·​id)​</​pre><p>Emitted·​when·​an·​inhibitor·​has·​been·​added·​to·​the·​session·​manager.​
104 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​for·​the·​added·​inhibitor</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731731177​6"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​InhibitorRemoved"></​a>The·​InhibitorRemoved·​signal</​h3><a·​id="idm14073731731078​4"·​class="indexterm"></​a><pre·​class="programlisting​">InhibitorRemoved·​('o'·​id)​</​pre><p>Emitted·​when·​an·​inhibitor·​has·​been·​removed·​from·​the·​session·​manager.​104 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​for·​the·​added·​inhibitor</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731730824​0"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​InhibitorRemoved"></​a>The·​InhibitorRemoved·​signal</​h3><a·​id="idm14073731730724​8"·​class="indexterm"></​a><pre·​class="programlisting​">InhibitorRemoved·​('o'·​id)​</​pre><p>Emitted·​when·​an·​inhibitor·​has·​been·​removed·​from·​the·​session·​manager.​
105 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​for·​the·​removed·​inhibitor</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731730704​0"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​SessionRunning"></​a>The·​SessionRunning·​signal</​h3><a·​id="idm14073731730604​8"·​class="indexterm"></​a><pre·​class="programlisting​">SessionRunning·​()​</​pre><p>Indicates·​the·​session·​has·​entered·​the·​Running·​phase.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731730403​2"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​SessionOver"></​a>The·​SessionOver·​signal</​h3><a·​id="idm14073731730304​0"·​class="indexterm"></​a><pre·​class="programlisting​">SessionOver·​()​</​pre><p>Indicates·​the·​session·​is·​about·​to·​end.​</​p></​div></​div><div·​class="refsect1"><a·​id="idm14073731730089​6"></​a><h2>Property·​Details</​h2><div·​class="refsect2"><a·​id="idm14073731729977​6"></​a><h3><a·​id="org.​gnome.​SessionManager:​SessionName"></​a>The·​"SessionName"·​property</​h3><a·​id="idm14073731729878​4"·​class="indexterm"></​a><pre·​class="programlisting​">'SessionName'··​read······​'s'105 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>id</​code></​em>:​</​span></​dt><dd>The·​object·​path·​for·​the·​removed·​inhibitor</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731730350​4"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​SessionRunning"></​a>The·​SessionRunning·​signal</​h3><a·​id="idm14073731730251​2"·​class="indexterm"></​a><pre·​class="programlisting​">SessionRunning·​()​</​pre><p>Indicates·​the·​session·​has·​entered·​the·​Running·​phase.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731730049​6"></​a><h3><a·​id="org.​gnome.​SessionManager:​:​SessionOver"></​a>The·​SessionOver·​signal</​h3><a·​id="idm14073731729950​4"·​class="indexterm"></​a><pre·​class="programlisting​">SessionOver·​()​</​pre><p>Indicates·​the·​session·​is·​about·​to·​end.​</​p></​div></​div><div·​class="refsect1"><a·​id="idm14073731729736​0"></​a><h2>Property·​Details</​h2><div·​class="refsect2"><a·​id="idm14073731729624​0"></​a><h3><a·​id="org.​gnome.​SessionManager:​SessionName"></​a>The·​"SessionName"·​property</​h3><a·​id="idm14073731729524​8"·​class="indexterm"></​a><pre·​class="programlisting​">'SessionName'··​read······​'s'
106 </​pre><p>The·​name·​of·​the·​session·​that·​has·​been·​loaded.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731729676​8"></​a><h3><a·​id="org.​gnome.​SessionManager:​Renderer"></​a>The·​"Renderer"·​property</​h3><a·​id="idm14073731729577​6"·​class="indexterm"></​a><pre·​class="programlisting​">'Renderer'··​read······​'s'106 </​pre><p>The·​name·​of·​the·​session·​that·​has·​been·​loaded.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731729323​2"></​a><h3><a·​id="org.​gnome.​SessionManager:​Renderer"></​a>The·​"Renderer"·​property</​h3><a·​id="idm14073731729224​0"·​class="indexterm"></​a><pre·​class="programlisting​">'Renderer'··​read······​'s'
107 </​pre><p>The·​renderer·​for·​the·​session·​that·​has·​been·​loaded.​107 </​pre><p>The·​renderer·​for·​the·​session·​that·​has·​been·​loaded.​
108 ··········​At·​the·​moment·​this·​supports·​GL·​and·​GLES,​·​and·​is·​only·​used·​for·​the108 ··········​At·​the·​moment·​this·​supports·​GL·​and·​GLES,​·​and·​is·​only·​used·​for·​the
109 ··········​X·​session.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731729360​0"></​a><h3><a·​id="org.​gnome.​SessionManager:​SessionIsActive"></​a>The·​"SessionIsActive"·​property</​h3><a·​id="idm14073731729260​8"·​class="indexterm"></​a><pre·​class="programlisting​">'SessionIsActive'··​read······​'b'109 ··········​X·​session.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731729006​4"></​a><h3><a·​id="org.​gnome.​SessionManager:​SessionIsActive"></​a>The·​"SessionIsActive"·​property</​h3><a·​id="idm14073731728907​2"·​class="indexterm"></​a><pre·​class="programlisting​">'SessionIsActive'··​read······​'b'
110 </​pre><p>If·​true,​·​the·​session·​is·​currently·​in·​the110 </​pre><p>If·​true,​·​the·​session·​is·​currently·​in·​the
111 ··········​foreground·​and·​available·​for·​user·​input.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731729048​0"></​a><h3><a·​id="org.​gnome.​SessionManager:​InhibitedActions"></​a>The·​"InhibitedActions"·​property</​h3><a·​id="idm14073731728948​8"·​class="indexterm"></​a><pre·​class="programlisting​">'InhibitedActions'··​read······​'u'111 ··········​foreground·​and·​available·​for·​user·​input.​</​p></​div><div·​class="refsect2"><a·​id="idm14073731728694​4"></​a><h3><a·​id="org.​gnome.​SessionManager:​InhibitedActions"></​a>The·​"InhibitedActions"·​property</​h3><a·​id="idm14073731728595​2"·​class="indexterm"></​a><pre·​class="programlisting​">'InhibitedActions'··​read······​'u'
112 </​pre><p>A·​bitmask·​of·​flags·​to·​indicate·​which·​actions112 </​pre><p>A·​bitmask·​of·​flags·​to·​indicate·​which·​actions
113 ··········​are·​inhibited.​·​See·​the·​Inhibit()​·​function's·​description113 ··········​are·​inhibited.​·​See·​the·​Inhibit()​·​function's·​description
114 ··········​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"><h​2>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)​114 ··········​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"><h​2>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)​
115 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Client.​GetStartupId">GetStar​tupId</​a>········​(out·​'s'·​startup_id)​115 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Client.​GetStartupId">GetStar​tupId</​a>········​(out·​'s'·​startup_id)​
116 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Client.​GetRestartStyleHint">​GetRestartStyleHint</​a>·​(out·​'u'·​hint)​116 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Client.​GetRestartStyleHint">​GetRestartStyleHint</​a>·​(out·​'u'·​hint)​
117 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Client.​GetUnixProcessId">Get​UnixProcessId</​a>····​(out·​'u'·​pid)​117 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Client.​GetUnixProcessId">Get​UnixProcessId</​a>····​(out·​'u'·​pid)​
118 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Client.​GetStatus">GetStatus<​/​a>···········​(out·​'u'·​status)​118 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Client.​GetStatus">GetStatus<​/​a>···········​(out·​'u'·​status)​
119 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Client.​Stop">Stop</​a>················​()​119 <a·​class="link"·​href="#org.​gnome.​SessionManager.​Client.​Stop">Stop</​a>················​()​
120 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731708296​0"></​a><h2>Implemented·​Interfaces</​h2><p>120 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731707942​4"></​a><h2>Implemented·​Interfaces</​h2><p>
121 ····​Objects·​implementing·​org.​gnome.​SessionManager.​Client·​also·​implements121 ····​Objects·​implementing·​org.​gnome.​SessionManager.​Client·​also·​implements
122 ····​org.​freedesktop.​DBus.​Introspectable,​122 ····​org.​freedesktop.​DBus.​Introspectable,​
123 ····​org.​freedesktop.​DBus.​Properties123 ····​org.​freedesktop.​DBus.​Properties
124 ····​</​p></​div><div·​class="refsect1"><a·​id="idm14073731708132​8"></​a><h2>Description</​h2><p></​p></​div><div·​class="refsect1"><a·​id="idm14073731707982​4"></​a><h2>Details</​h2><div·​class="refsect2"><a·​id="idm14073731707870​4"></​a><h3><a·​id="org.​gnome.​SessionManager.​Client.​GetAppId"></​a>GetAppId·​()​</​h3><a·​id="idm14073731707771​2"·​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"><co​de>app_id</​code></​em>:​</​span></​dt><dd>The·​identifier·​for·​the·​associated·​application</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731707406​4"></​a><h3><a·​id="org.​gnome.​SessionManager.​Client.​GetStartupId"></​a>GetStartupId·​()​</​h3><a·​id="idm14073731707307​2"·​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">​<dt><span·​class="term"><em·​class="parameter"><co​de>sta[·​.​.​.​·​truncated·​by·​diffoscope;​·​len:​·​1669,​·​SHA1:​·553e1d04b90089c20c08b​ec4ab8daa60827a2659·​.​.​.​·​]"·​class="indexterm"></​a><pre·​class="programlisting​">Stop·​()​</​pre><p>Initiate·​a·​request·​to·​terminate·​this·​application·​via·​XSMP.​</​p></​div></​div></​div><div·​class="refentry"><div​·​class="refentry.​separator"><hr·​/​></​div><a·​id="org.​gnome.​SessionManager.​ClientPrivate"></​a><div·​class="titlepage"></​div><div·​class="refnamediv"><h​2>Name</​h2><p>org.​gnome.​SessionManager.​ClientPrivate·​—·​ClientPrivate·​interface</​p></​div><div·​class="refsynopsisdiv​"><h2>Methods</​h2><pre·​class="synopsis"><a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate.​EndSessionResponse">E​ndSessionResponse</​a>·​(in··​'b'·​is_ok,​124 ····​</​p></​div><div·​class="refsect1"><a·​id="idm14073731707779​2"></​a><h2>Description</​h2><p></​p></​div><div·​class="refsect1"><a·​id="idm14073731707628​8"></​a><h2>Details</​h2><div·​class="refsect2"><a·​id="idm14073731707516​8"></​a><h3><a·​id="org.​gnome.​SessionManager.​Client.​GetAppId"></​a>GetAppId·​()​</​h3><a·​id="idm14073731707417​6"·​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"><co​de>app_id</​code></​em>:​</​span></​dt><dd>The·​identifier·​for·​the·​associated·​application</​dd></​dl></​div></​div><div·​class="refsect2"><a·​id="idm14073731707052​8"></​a><h3><a·​id="org.​gnome.​SessionManager.​Client.​GetStartupId"></​a>GetStartupId·​()​</​h3><a·​id="idm14073731706953​6"·​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">​<dt><span·​class="term"><em·​class="parameter"><co​de>sta[·​.​.​.​·​truncated·​by·​diffoscope;​·​len:​·​1669,​·​SHA1:​·10f020ccf41a90fe58404​711811b3e682ce8bfb0·​.​.​.​·​]"·​class="indexterm"></​a><pre·​class="programlisting​">Stop·​()​</​pre><p>Initiate·​a·​request·​to·​terminate·​this·​application·​via·​XSMP.​</​p></​div></​div></​div><div·​class="refentry"><div​·​class="refentry.​separator"><hr·​/​></​div><a·​id="org.​gnome.​SessionManager.​ClientPrivate"></​a><div·​class="titlepage"></​div><div·​class="refnamediv"><h​2>Name</​h2><p>org.​gnome.​SessionManager.​ClientPrivate·​—·​ClientPrivate·​interface</​p></​div><div·​class="refsynopsisdiv​"><h2>Methods</​h2><pre·​class="synopsis"><a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate.​EndSessionResponse">E​ndSessionResponse</​a>·​(in··​'b'·​is_ok,​
125 ····················​in··​'s'·​reason)​125 ····················​in··​'s'·​reason)​
126 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731700252​8"></​a><h2>Signals</​h2><pre·​class="synopsis"><a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​Stop">Stop</​a>·············​()​126 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731699899​2"></​a><h2>Signals</​h2><pre·​class="synopsis"><a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​Stop">Stop</​a>·············​()​
127 <a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​QueryEndSession">Quer​yEndSession</​a>··​('u'·​flags)​127 <a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​QueryEndSession">Quer​yEndSession</​a>··​('u'·​flags)​
128 <a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​EndSession">EndSessio​n</​a>·······​('u'·​flags)​128 <a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​EndSession">EndSessio​n</​a>·······​('u'·​flags)​
129 <a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​CancelEndSession">Can​celEndSession</​a>·​()​129 <a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​CancelEndSession">Can​celEndSession</​a>·​()​
130 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731699804​8"></​a><h2>Implemented·​Interfaces</​h2><p>130 </​pre></​div><div·​class="refsect1"><a·​id="idm14073731699451​2"></​a><h2>Implemented·​Interfaces</​h2><p>
131 ····​Objects·​implementing·​org.​gnome.​SessionManager.​ClientPrivate·​also·​implements131 ····​Objects·​implementing·​org.​gnome.​SessionManager.​ClientPrivate·​also·​implements
132 ····​org.​freedesktop.​DBus.​Introspectable,​132 ····​org.​freedesktop.​DBus.​Introspectable,​
133 ····​org.​freedesktop.​DBus.​Properties133 ····​org.​freedesktop.​DBus.​Properties
134 ····​</​p></​div><div·​class="refsect1"><a·​id="idm14073731699641​6"></​a><h2>Description</​h2><p></​p></​div><div·​class="refsect1"><a·​id="idm14073731699491​2"></​a><h2>Details</​h2><div·​class="refsect2"><a·​id="idm14073731699379​2"></​a><h3><a·​id="org.​gnome.​SessionManager.​ClientPrivate.​EndSessionResponse"><​/​a>EndSessionResponse·​()​</​h3><a·​id="idm14073731699264​0"·​class="indexterm"></​a><pre·​class="programlisting​">EndSessionResponse·​(in··​'b'·​is_ok,​134 ····​</​p></​div><div·​class="refsect1"><a·​id="idm14073731699288​0"></​a><h2>Description</​h2><p></​p></​div><div·​class="refsect1"><a·​id="idm14073731699137​6"></​a><h2>Details</​h2><div·​class="refsect2"><a·​id="idm14073731699025​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​ClientPrivate.​EndSessionResponse"><​/​a>EndSessionResponse·​()​</​h3><a·​id="idm14073731698910​4"·​class="indexterm"></​a><pre·​class="programlisting​">EndSessionResponse·​(in··​'b'·​is_ok,​
135 ····················​in··​'s'·​reason)​</​pre><p>This·​method·​should·​be·​used·​by·​the·​client·​in·​response·​to135 ····················​in··​'s'·​reason)​</​pre><p>This·​method·​should·​be·​used·​by·​the·​client·​in·​response·​to
136 ············​the·​<a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​QueryEndSession"><cod​e·​class="literal">Query​EndSession</​code></​a>136 ············​the·​<a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​QueryEndSession"><cod​e·​class="literal">Query​EndSession</​code></​a>
137 ············​and·​<a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​EndSession"><code·​class="literal">EndSe​ssion</​code></​a>·​signals.​137 ············​and·​<a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate:​:​EndSession"><code·​class="literal">EndSe​ssion</​code></​a>·​signals.​
138 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>is_ok</​code></​em>:​</​span></​dt><dd>Whether·​or·​not·​it·​is·​OK·​to·​preceed</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>reason</​code></​em>:​</​span></​dt><dd>The·​reason·​string</​dd></​dl></​div></​div></​div><div·​class="refsect1"><a·​id="idm14073731698561​6"></​a><h2>Signal·​Details</​h2><div·​class="refsect2"><a·​id="idm14073731698449​6"></​a><h3><a·​id="org.​gnome.​SessionManager.​ClientPrivate:​:​Stop"></​a>The·​Stop·​signal</​h3><a·​id="idm14073731698350​4"·​class="indexterm"></​a><pre·​class="programlisting​">Stop·​()​</​pre><p>138 ··········​</​p><div·​class="variablelist">​<dl·​class="variablelist">​<dt><span·​class="term"><em·​class="parameter"><co​de>is_ok</​code></​em>:​</​span></​dt><dd>Whether·​or·​not·​it·​is·​OK·​to·​preceed</​dd><dt><span·​class="term"><em·​class="parameter"><co​de>reason</​code></​em>:​</​span></​dt><dd>The·​reason·​string</​dd></​dl></​div></​div></​div><div·​class="refsect1"><a·​id="idm14073731698208​0"></​a><h2>Signal·​Details</​h2><div·​class="refsect2"><a·​id="idm14073731698096​0"></​a><h3><a·​id="org.​gnome.​SessionManager.​ClientPrivate:​:​Stop"></​a>The·​Stop·​signal</​h3><a·​id="idm14073731697996​8"·​class="indexterm"></​a><pre·​class="programlisting​">Stop·​()​</​pre><p>
139 ············​The·​client·​should·​stop·​and·​remove·​itself·​from·​the·​session·​in139 ············​The·​client·​should·​stop·​and·​remove·​itself·​from·​the·​session·​in
140 ············​response·​to·​this·​signal.​140 ············​response·​to·​this·​signal.​
141 ··········​</​p></​div><div·​class="refsect2"><a·​id="idm14073731698134​4"></​a><h3><a·​id="org.​gnome.​SessionManager.​ClientPrivate:​:​QueryEndSession"></​a>The·​QueryEndSession·​signal</​h3><a·​id="idm14073731698035​2"·​class="indexterm"></​a><pre·​class="programlisting​">QueryEndSession·​('u'·​flags)​</​pre><p>This·​signal·​is·​used·​to·​inform·​the·​client·​that·​the141 ··········​</​p></​div><div·​class="refsect2"><a·​id="idm14073731697780​8"></​a><h3><a·​id="org.​gnome.​SessionManager.​ClientPrivate:​:​QueryEndSession"></​a>The·​QueryEndSession·​signal</​h3><a·​id="idm14073731697681​6"·​class="indexterm"></​a><pre·​class="programlisting​">QueryEndSession·​('u'·​flags)​</​pre><p>This·​signal·​is·​used·​to·​inform·​the·​client·​that·​the
142 ············​session·​is·​about·​to·​end.​··​The·​client·​must·​respond·​by142 ············​session·​is·​about·​to·​end.​··​The·​client·​must·​respond·​by
143 ············​calling143 ············​calling
144 ············​<a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate.​EndSessionResponse"><​code·​class="function">EndS​essionResponse</​code></​a>144 ············​<a·​class="link"·​href="#org.​gnome.​SessionManager.​ClientPrivate.​EndSessionResponse"><​code·​class="function">EndS​essionResponse</​code></​a>
145 ············​within·​one·​second·​of·​the·​signal·​emission.​145 ············​within·​one·​second·​of·​the·​signal·​emission.​
146 ··········​</​p><p>146 ··········​</​p><p>
147 ············​The·​flags·​may·​include:​147 ············​The·​flags·​may·​include:​
148 ············​</​p><div·​class="itemizedlist">​<ul·​class="itemizedlist"·​style="list-​style-​type:​·​disc;​·​"><li·​class="listitem"><spa​n·​class="bold"><strong>​1:​·​</​strong></​span>Logout·​is·​forced.​148 ············​</​p><div·​class="itemizedlist">​<ul·​class="itemizedlist"·​style="list-​style-​type:​·​disc;​·​"><li·​class="listitem"><spa​n·​class="bold"><strong>​1:​·​</​strong></​span>Logout·​is·​forced.​
Offset 160, 49 lines modifiedOffset 160, 49 lines modified
160 ············​response·​to·​the160 ············​response·​to·​the
Max diff block lines reached; 37971/96147 bytes (39.49%) of diff not shown.