Skip to content

Instantly share code, notes, and snippets.

@batok
Created April 12, 2010 18:31
Show Gist options
  • Save batok/363859 to your computer and use it in GitHub Desktop.
Save batok/363859 to your computer and use it in GitHub Desktop.
#nada aun
class ToasterBox(object):
@classmethod
def play(cls, win, mensaje):
tb = TB.ToasterBox(win,TB.TB_SIMPLE,TB.DEFAULT_TB_STYLE, TB.TB_ONCLICK)
tb.SetPopupSize((250,200))
tb.SetPopupPosition((500,500))
tb.SetPopupPauseTime(4000)
tb.SetPopupScrollSpeed(8)
#tb.SetPopupBackgroundColor(wx.NamedColour("red"))
tb.SetPopupTextColor(wx.NamedColour("BLUE"))
tb.SetPopupText(mensaje)
tb.SetPopupTextFont(win.GetFont())
tb.Play()
@batok
Copy link
Author

batok commented Apr 12, 2010

import wx.lib.agw.toasterbox as TB
i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment