src/eric7/Documentation/Source/eric7.SystemUtilities.DesktopUtilities.html

branch
eric7
changeset 9624
b47dfa7a137d
child 10479
856476537696
equal deleted inserted replaced
9623:9c1f429cb56b 9624:b47dfa7a137d
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.SystemUtilities.DesktopUtilities</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.SystemUtilities.DesktopUtilities</h1>
10
11 <p>
12 Module implementing Linux desktop related utility functions.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22 <tr><td>None</td></tr>
23 </table>
24 <h3>Functions</h3>
25
26 <table>
27
28 <tr>
29 <td><a href="#desktopName">desktopName</a></td>
30 <td>Function to determine the name of the desktop environment used (Linux only).</td>
31 </tr>
32 <tr>
33 <td><a href="#isGnomeDesktop">isGnomeDesktop</a></td>
34 <td>Function to check, if the current session is a Gnome desktop (Linux only).</td>
35 </tr>
36 <tr>
37 <td><a href="#isKdeDesktop">isKdeDesktop</a></td>
38 <td>Function to check, if the current session is a KDE desktop (Linux only).</td>
39 </tr>
40 <tr>
41 <td><a href="#isWaylandSession">isWaylandSession</a></td>
42 <td>Function to check, if the current session is a wayland session.</td>
43 </tr>
44 <tr>
45 <td><a href="#sessionType">sessionType</a></td>
46 <td>Function to determine the name of the running session (Linux only).</td>
47 </tr>
48 </table>
49 <hr />
50 <hr />
51 <a NAME="desktopName" ID="desktopName"></a>
52 <h2>desktopName</h2>
53 <b>desktopName</b>(<i></i>)
54
55 <p>
56 Function to determine the name of the desktop environment used
57 (Linux only).
58 </p>
59 <dl>
60 <dt>Return:</dt>
61 <dd>
62 name of the desktop environment
63 </dd>
64 </dl>
65 <dl>
66 <dt>Return Type:</dt>
67 <dd>
68 str
69 </dd>
70 </dl>
71 <div align="right"><a href="#top">Up</a></div>
72 <hr />
73 <hr />
74 <a NAME="isGnomeDesktop" ID="isGnomeDesktop"></a>
75 <h2>isGnomeDesktop</h2>
76 <b>isGnomeDesktop</b>(<i></i>)
77
78 <p>
79 Function to check, if the current session is a Gnome desktop (Linux only).
80 </p>
81 <dl>
82 <dt>Return:</dt>
83 <dd>
84 flag indicating a Gnome desktop
85 </dd>
86 </dl>
87 <dl>
88 <dt>Return Type:</dt>
89 <dd>
90 bool
91 </dd>
92 </dl>
93 <div align="right"><a href="#top">Up</a></div>
94 <hr />
95 <hr />
96 <a NAME="isKdeDesktop" ID="isKdeDesktop"></a>
97 <h2>isKdeDesktop</h2>
98 <b>isKdeDesktop</b>(<i></i>)
99
100 <p>
101 Function to check, if the current session is a KDE desktop (Linux only).
102 </p>
103 <dl>
104 <dt>Return:</dt>
105 <dd>
106 flag indicating a KDE desktop
107 </dd>
108 </dl>
109 <dl>
110 <dt>Return Type:</dt>
111 <dd>
112 bool
113 </dd>
114 </dl>
115 <div align="right"><a href="#top">Up</a></div>
116 <hr />
117 <hr />
118 <a NAME="isWaylandSession" ID="isWaylandSession"></a>
119 <h2>isWaylandSession</h2>
120 <b>isWaylandSession</b>(<i></i>)
121
122 <p>
123 Function to check, if the current session is a wayland session.
124 </p>
125 <dl>
126 <dt>Return:</dt>
127 <dd>
128 flag indicating a wayland session
129 </dd>
130 </dl>
131 <dl>
132 <dt>Return Type:</dt>
133 <dd>
134 bool
135 </dd>
136 </dl>
137 <div align="right"><a href="#top">Up</a></div>
138 <hr />
139 <hr />
140 <a NAME="sessionType" ID="sessionType"></a>
141 <h2>sessionType</h2>
142 <b>sessionType</b>(<i></i>)
143
144 <p>
145 Function to determine the name of the running session (Linux only).
146 </p>
147 <dl>
148 <dt>Return:</dt>
149 <dd>
150 name of the desktop environment
151 </dd>
152 </dl>
153 <dl>
154 <dt>Return Type:</dt>
155 <dd>
156 str
157 </dd>
158 </dl>
159 <div align="right"><a href="#top">Up</a></div>
160 <hr />
161 </body></html>

eric ide

mercurial