Created
January 21, 2021 19:35
-
-
Save driscollis/f562afaa1af479baab315102f7deeda8 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 | |
class MainFrame(wx.Frame): | |
def __init__(self): | |
wx.Frame.__init__(self, None, title='') | |
panel = wx.Panel(self) | |
self.statusbar = self.CreateStatusBar( | |
1, style=wx.STB_SIZEGRIP|wx.STB_ELLIPSIZE_END|wx.FULL_REPAINT_ON_RESIZE) | |
self.statusbar.SetStatusText('This goes in your statusbar') | |
self.statusbar.SetToolTip("Statusbar tooltip!") | |
self.Show() | |
if __name__ == '__main__': | |
app = wx.App(False) | |
frame = MainFrame() | |
app.MainLoop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment