Re: [pygtk] key_release trouble

2000-07-01 Thread Bellamy Bruno
On 01-Jul-2000 James Henstridge wrote: >> > On Tue, 20 Jun 2000, Bellamy Bruno wrote: >> >> I'm trying to catch the key_release event in a GtkText >> > >> > The widget will only receive key press events if it has focus. That could >> > be what the problem you are seeing. Does the problem go awa

Re: [pygtk] key_release trouble

2000-07-01 Thread James Henstridge
On Sat, 1 Jul 2000, Bellamy Bruno wrote: > Oops, sorry I didn't reply earlier... Lots of work. ;) > > On 20-Jun-2000 James Henstridge wrote: > > On Tue, 20 Jun 2000, Bellamy Bruno wrote: > >> I'm trying to catch the key_release event in a GtkText, so I had to > >> use a mygtktext.add_events(GDK.

Re: [pygtk] key_release trouble

2000-07-01 Thread Bellamy Bruno
Oops, sorry I didn't reply earlier... Lots of work. ;) On 20-Jun-2000 James Henstridge wrote: > On Tue, 20 Jun 2000, Bellamy Bruno wrote: >> I'm trying to catch the key_release event in a GtkText, so I had to >> use a mygtktext.add_events(GDK.KEY_RELEASE_MASK). >> But it seems to work only after

Re: [pygtk] key_release trouble

2000-06-20 Thread James Henstridge
On Tue, 20 Jun 2000, Bellamy Bruno wrote: > Hi there... > > I'm trying to catch the key_release event in a GtkText, so I had to > use a mygtktext.add_events(GDK.KEY_RELEASE_MASK). > But it seems to work only after I start by clicking in > the GtkText with the mouse. Otherwise, no key_release eve

Re: [pygtk] key_release trouble

2000-06-20 Thread Matt Wilson
Add: mygthtext.set_events (KEY_RELEASE_MASK) Matt On Tue, Jun 20, 2000 at 11:38:50AM +0200, Bellamy Bruno wrote: > Hi there... > > I'm trying to catch the key_release event in a GtkText, so I had to > use a mygtktext.add_events(GDK.KEY_RELEASE_MASK). > But it seems to work only after I

[pygtk] key_release trouble

2000-06-20 Thread Bellamy Bruno
Hi there... I'm trying to catch the key_release event in a GtkText, so I had to use a mygtktext.add_events(GDK.KEY_RELEASE_MASK). But it seems to work only after I start by clicking in the GtkText with the mouse. Otherwise, no key_release event is detected. The problem is that I wanted to avoid