Latest recipes tagged "alert"http://code.activestate.com/recipes/tags/alert/new/2017-04-01T19:27:59-07:00ActiveState Code RecipesTkinter Desktop Notifications or Popups (Python) 2017-04-01T19:27:59-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580769-tkinter-desktop-notifications-or-popups/ <p style="color: grey"> Python recipe 580769 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/alert/">alert</a>, <a href="/recipes/tags/easing/">easing</a>, <a href="/recipes/tags/notification/">notification</a>, <a href="/recipes/tags/popup/">popup</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 2. </p> <p>This trick requires <em>pytweening</em>:</p> <p><a href="https://pypi.python.org/pypi/PyTweening" rel="nofollow">https://pypi.python.org/pypi/PyTweening</a></p> <p>Install writing:</p> <pre class="prettyprint"><code> pip install pytweening </code></pre> <p>It shows a notification on one corner of the screen,and gradually the notification disappears using an easing function. By default, it uses a linear easing function.</p> <p>The class <em>Notification_Manager</em> has the method <em>create_notification</em>, but it also has some convenient methods to create easily some kind of notifications: success, alert, info, warning.</p>