Documentation/Source/eric6.Globals.__init__.html

changeset 6927
50c60a7a8bab
parent 6770
4782d2b8e1bd
--- a/Documentation/Source/eric6.Globals.__init__.html	Fri Apr 05 19:19:43 2019 +0200
+++ b/Documentation/Source/eric6.Globals.__init__.html	Fri Apr 05 19:26:16 2019 +0200
@@ -61,18 +61,30 @@
 <td><a href="#getWebBrowserSupport">getWebBrowserSupport</a></td>
 <td>Module function to determine the supported web browser variant.</td>
 </tr><tr>
+<td><a href="#isGnomeDesktop">isGnomeDesktop</a></td>
+<td>Function to check, if the current session is a Gnome desktop (Linux only).</td>
+</tr><tr>
+<td><a href="#isKdeDesktop">isKdeDesktop</a></td>
+<td>Function to check, if the current session is a KDE desktop (Linux only).</td>
+</tr><tr>
 <td><a href="#isLinuxPlatform">isLinuxPlatform</a></td>
 <td>Function to check, if this is a Linux platform.</td>
 </tr><tr>
 <td><a href="#isMacPlatform">isMacPlatform</a></td>
 <td>Function to check, if this is a Mac platform.</td>
 </tr><tr>
+<td><a href="#isWaylandSession">isWaylandSession</a></td>
+<td>Function to check, if the current session is a wayland session.</td>
+</tr><tr>
 <td><a href="#isWindowsPlatform">isWindowsPlatform</a></td>
 <td>Function to check, if this is a Windows platform.</td>
 </tr><tr>
 <td><a href="#qVersionTuple">qVersionTuple</a></td>
 <td>Module function to get the Qt version as a tuple.</td>
 </tr><tr>
+<td><a href="#sessionType">sessionType</a></td>
+<td>Function to determine the name of the running session (Linux only).</td>
+</tr><tr>
 <td><a href="#setConfigDir">setConfigDir</a></td>
 <td>Module function to set the name of the directory storing the config data.</td>
 </tr><tr>
@@ -251,6 +263,42 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="isGnomeDesktop" ID="isGnomeDesktop"></a>
+<h2>isGnomeDesktop</h2>
+<b>isGnomeDesktop</b>(<i></i>)
+<p>
+    Function to check, if the current session is a Gnome desktop (Linux only).
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating a Gnome desktop
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
+<a NAME="isKdeDesktop" ID="isKdeDesktop"></a>
+<h2>isKdeDesktop</h2>
+<b>isKdeDesktop</b>(<i></i>)
+<p>
+    Function to check, if the current session is a KDE desktop (Linux only).
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating a KDE desktop
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="isLinuxPlatform" ID="isLinuxPlatform"></a>
 <h2>isLinuxPlatform</h2>
 <b>isLinuxPlatform</b>(<i></i>)
@@ -277,6 +325,24 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="isWaylandSession" ID="isWaylandSession"></a>
+<h2>isWaylandSession</h2>
+<b>isWaylandSession</b>(<i></i>)
+<p>
+    Function to check, if the current session is a wayland session.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating a wayland session
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="isWindowsPlatform" ID="isWindowsPlatform"></a>
 <h2>isWindowsPlatform</h2>
 <b>isWindowsPlatform</b>(<i></i>)
@@ -308,6 +374,24 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="sessionType" ID="sessionType"></a>
+<h2>sessionType</h2>
+<b>sessionType</b>(<i></i>)
+<p>
+    Function to determine the name of the running session (Linux only).
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+name of the desktop environment
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="setConfigDir" ID="setConfigDir"></a>
 <h2>setConfigDir</h2>
 <b>setConfigDir</b>(<i>d</i>)

eric ide

mercurial