EVT_TEXT_ENTER from Toolbar TextCtrl
Michael Barron
barronmo at gmail.com
Mon Dec 3 18:51:20 PST 2007
Shouldn't this generate an EVT_TEXT_ENTER when I put some text in the field
and hit enter?
toolbar.AddControl(wx.TextCtrl(toolbar, 1109, "", wx.DefaultPosition,
wx.Size(140, -1)))
self.Bind(wx.EVT_TEXT_ENTER, self.OnTextEnter, id =3D 1109)
def OnTextEnter(self, event):
print 'why wont this work'
It doesn't want to work for me. Thanks, Mike Barron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200712=
03/9fe9e095/attachment.htm
More information about the wxpython-users
mailing list