I am trying to create a command terminal like window..I have used the following code..Problem is that it set the command prompt as ">>>" that is editable.
I want window with fixed ">>>" with cursor waiting for command...now the issue is that user can easily delete ">>>" as it is a simple text..
Is it any way to fixed this par of text in we.textctrl or in any other control.
class MyFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title, size=(400,400))
self.SetPosition(wx.Point(0,0))
self.cmdArea = wx.TextCtrl(self, style=wx.TE_MULTILINE)
self.cmdArea.SetValue(">>>")
self.Show(True)