Re: [pygtk] Alt + Arrow behaviour

2002-09-12 Thread Christian Reis
On Thu, Sep 12, 2002 at 10:06:08AM +0100, Graham Ashton wrote: > > You'll need to emit_stop_by_name("key_press_event") inside your callback > > if you don't want any other handlers to run. And maybe return gtk.TRUE, > > too; these things are a bit confusing to me still. > > It worked a treat, tha

Re: [pygtk] Alt + Arrow behaviour

2002-09-12 Thread Graham Ashton
On Tue, 2002-09-10 at 17:58, Christian Reis wrote: > On Tue, Sep 10, 2002 at 05:39:11PM +0100, Graham Ashton wrote: > > > > The only problem is that every time I press the Alt-arrow combination > > the focus moves around between the various widgets in the interface > > (i.e. just as it normally d

Re: [pygtk] Alt + Arrow behaviour

2002-09-10 Thread Christian Reis
On Tue, Sep 10, 2002 at 05:39:11PM +0100, Graham Ashton wrote: > I've managed to connect a callback to the key_press_event on my > top-level window, and it works fine. > > The only problem is that every time I press the Alt-arrow combination > the focus moves around between the various widgets in

[pygtk] Alt + Arrow behaviour

2002-09-10 Thread Graham Ashton
Hi. I'd like to be able to use Alt+Left-arrow and Alt+Right-arrow in my application (to simulate the forward and back key bindings in your average web browser). I've managed to connect a callback to the key_press_event on my top-level window, and it works fine. The only problem is that every tim