From: John H. <jdh...@ac...> - 2005-04-13 14:23:44
|
>>>>> "Tim" == Tim Leslie <ti...@cs...> writes: Tim> This all works fine except that the down key doesn't register Tim> as released. After registering the down key press, no other Tim> key events register until you hit the up key, at which point Tim> the key release triggers for the up. It works fine for me -- what is your pygtk version and OS? I'm using pygtk 2.2.0 on linux. You might put some debug print statements to print event.keyval in _get_key to see if an event is being triggered at the gtk level. Could it be a bad keyboard??? Tim> I really don't know a lot about Gtk or the matplotlib Tim> internals so I couldn't trace this bug deeper into the Tim> libraries. Can anyone shed some light on what's going on? If Tim> we can get the arrow keys working is there a chance of Tim> getting them into the standard distribution (assuming we had Tim> all backends working)? Absolutely. It might be nice to enable some standard keyboard navigation too. JDH |