eric6/Documentation/Source/eric6.UI.UserInterface.html

changeset 7959
44e15eda6506
parent 7947
e609e65bbcfd
child 7960
e8fc383322f7
diff -r a70ebfad3d0e -r 44e15eda6506 eric6/Documentation/Source/eric6.UI.UserInterface.html
--- a/eric6/Documentation/Source/eric6.UI.UserInterface.html	Tue Jan 05 15:14:40 2021 +0100
+++ b/eric6/Documentation/Source/eric6.UI.UserInterface.html	Tue Jan 05 18:28:31 2021 +0100
@@ -1010,10 +1010,6 @@
 <td>Public method to get a reference to the network access manager object.</td>
 </tr>
 <tr>
-<td><a href="#UserInterface.notificationsEnabled">notificationsEnabled</a></td>
-<td>Public method to check, if notifications are enabled.</td>
-</tr>
-<tr>
 <td><a href="#UserInterface.performVersionCheck">performVersionCheck</a></td>
 <td>Public method to check the internet for an eric6 update.</td>
 </tr>
@@ -3362,19 +3358,6 @@
 QNetworkAccessManager
 </dd>
 </dl>
-<a NAME="UserInterface.notificationsEnabled" ID="UserInterface.notificationsEnabled"></a>
-<h4>UserInterface.notificationsEnabled</h4>
-<b>notificationsEnabled</b>(<i></i>)
-
-<p>
-        Public method to check, if notifications are enabled.
-</p>
-<dl>
-<dt>Returns:</dt>
-<dd>
-flag indicating, if notifications are enabled (boolean)
-</dd>
-</dl>
 <a NAME="UserInterface.performVersionCheck" ID="UserInterface.performVersionCheck"></a>
 <h4>UserInterface.performVersionCheck</h4>
 <b>performVersionCheck</b>(<i>manual=True, alternative=0, showVersions=False</i>)
@@ -3615,7 +3598,7 @@
 </p>
 <a NAME="UserInterface.showNotification" ID="UserInterface.showNotification"></a>
 <h4>UserInterface.showNotification</h4>
-<b>showNotification</b>(<i>icon, heading, text, timeout=None</i>)
+<b>showNotification</b>(<i>icon, heading, text, kind=NotificationTypes.Information, timeout=None</i>)
 
 <p>
         Public method to show a desktop notification.
@@ -3634,6 +3617,10 @@
 <dd>
 text of the notification
 </dd>
+<dt><i>kind</i> (NotificationTypes)</dt>
+<dd>
+kind of notification to be shown
+</dd>
 <dt><i>timeout</i> (int)</dt>
 <dd>
 time in seconds the notification should be shown

eric ide

mercurial