If your application needs to occasionally get the user's attention and present some information that may not be critical or require acknowledgement, the
ToasterBox window can be a nice and unobtrusive way to show simple messages to the user. In this recipe, we will make a small
TrayIcon application that acts as a timer, which pops up a notification every time a set amount of time has elapsed.
Here are the steps that you need to perform:
ToasterBox. For this, we will uses the following code:
import wx import wx.lib.agw.toasterbox as tb ID_GET_DUR = wx.NewId() ID_START = wx.NewId()
TaskBarIconobject to manage our alarm ...