-
-
Save anonymous/4baa67aafd04555eb4e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import wx | |
import wx.lib.agw.toasterbox as TB | |
from time import sleep | |
app = wx.App() | |
panel=wx.Panel(parent=wx.Frame(None)) | |
toaster = TB.ToasterBox(parent=wx.Frame(None), tbstyle=TB.TB_COMPLEX, closingstyle=TB.TB_ONTIME) | |
toaster.SetPopupPauseTime(3000) | |
toaster.SetPopupPosition(wx.Point(1050,0)) | |
toaster.SetPopupSize(wx.Size(320, 100)) | |
toaster.SetPopupText("Hello!!\nI am shdasdsadasfasfiva") | |
wx.CallLater(300, toaster.Play) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment