Python/wxPython/wx.TextCtrl
Jump to navigation
Jump to search
XRC Example
Python
self.wxtc = wx.xrc.XRCCTRL(self.frame, 'name_of_wxtc', 'wxTextCtrl')
self.wxtc.Bind(wx.EVT_KEY_UP, self.OnKeyPress, id=wx.xrc.XRCID('name_of_wxtc'))
XRC
<object name="name_of_wxtc" class="wxTextCtrl">
<size>200,25</size>
</object>
Programmatically Example
# TODO