コード例 #1
0
ファイル: Gui.py プロジェクト: mantra002/flight-tracker
    def __init__(self):
        wx.Frame.__init__(self, None, title="PlaneTracker")
        panel = Panels.MainPanel(self)

        if (RUN_FULLSCREEN):
            self.ShowFullScreen(True)
            #Hide the cursor, I have a touch screen hooked up. If you want to see the cursor remove the following two lines.
            cursor = wx.Cursor(wx.CURSOR_BLANK)
            self.SetCursor(cursor)
        else:
            self.Size = (800, 510)
            self.Show()