> > This is doable (just catch key_press_event and emit_stop_by_name() in the
> > handler) but I'm not sure it would solve the problem.
> 
> I will try to do that :-)

Ok, just tried it, but it does not work exactly as expected : it works just
fine for the PageUp / PageDown keys, but NOT on the cursor keys.

Indeed, it seems that when I 'stop' the signal, it goes directly to GTK's
navigation handling and the focus moves to the 'next' widget in its list.

So I tried another solution, connect my own function to the CList's
'scroll_vertical' message. And this causes the following error :

** ERROR **: file gtkmodule.c: line 3237 (GtkRet_FromPyObject): should not be reached

How should I debug this :-) ?

                  Lionel

-- 
                 Lionel Ulmer - http://www.bbrox.org/
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to