Re: enter key event in wxpython

2005-03-01 Thread Kartic
Raghul said the following on 2/28/2005 11:59 PM:
hi,
   I am developing a jabber client.What I need is whrn i enter text in
the text area and when I press return key. The following text should be
send.I found the way to send the message, the only thing is I want to
handle the enter key event.how to do this? so that when i press enter
key, The key id or the event to be handled. Help me pls.
Take a look at the KeyEvents demo code under Processes and Events of the 
wxPython Demo application.

In a nutshell, you have to handle the KEY_DOWN and KEY_UP events for the 
window.

Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list


enter key event in wxpython

2005-02-28 Thread Raghul
hi,
   I am developing a jabber client.What I need is whrn i enter text in
the text area and when I press return key. The following text should be
send.I found the way to send the message, the only thing is I want to
handle the enter key event.how to do this? so that when i press enter
key, The key id or the event to be handled. Help me pls.

-- 
http://mail.python.org/mailman/listinfo/python-list