###########################################################################
## Python code generated with wxFormBuilder (version May 29 2018)
## http://www.wxformbuilder.org/
##
## PLEASE DO *NOT* EDIT THIS FILE!
###########################################################################
import wx
import wx.xrc
###########################################################################
## Class PexpectRunnerGUI
###########################################################################
[docs]class PexpectRunnerGUI(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(
self,
parent,
id=wx.ID_ANY,
title="Pexpect Output",
pos=wx.DefaultPosition,
size=wx.Size(500, 300),
style=wx.DEFAULT_FRAME_STYLE | wx.TAB_TRAVERSAL,
)
self.SetSizeHints(wx.DefaultSize, wx.DefaultSize)
bSizer3 = wx.BoxSizer(wx.VERTICAL)
self.TextCtrlConsol = wx.TextCtrl(
self,
wx.ID_ANY,
wx.EmptyString,
wx.DefaultPosition,
wx.DefaultSize,
wx.TE_MULTILINE | wx.TE_READONLY | wx.TE_WORDWRAP,
)
bSizer3.Add(self.TextCtrlConsol, 1, wx.ALL | wx.EXPAND, 5)
self.SetSizer(bSizer3)
self.Layout()
self.Centre(wx.BOTH)
# Connect Events
self.Bind(wx.EVT_CLOSE, self.onWindowClose)
self.TextCtrlConsol.Bind(wx.EVT_MOUSEWHEEL, self.onMouseWheel)
[docs] def __del__(self):
pass
# Virtual event handlers, overide them in your derived class
[docs] def onWindowClose(self, event):
event.Skip()
[docs] def onMouseWheel(self, event):
event.Skip()