wxWidgets/wxPython/samples/wxPIA_book/Chapter-09/startup_tip.py

9 lines
163 B
Python
Raw Normal View History

import wx
if __name__ == "__main__":
app = wx.PySimpleApp()
provider = wx.CreateFileTipProvider("tips.txt", 0)
wx.ShowTip(None, provider, True)