[pygtk] AccelGroup and Up/Down/Left/Right keys
Alessandro Dentella
sandro at e-den.it
Fri Jun 19 15:25:10 WST 2009
On Fri, Jun 19, 2009 at 08:52:44AM +0200, Pierre wrote:
> Hi list,
>
> I was wondering if it's possible to use the 'Up', 'Down', 'Left', and
> 'Right' keys as accelerators in AccelGroup.
>
> I'm led to believe one can't, as the short snippet below fails to call
> the blop() method when 'Up' is pressed, whereas pressing 'b' does
> succesfully call blip().
>
> Is there any workaround ?
I obtain the same result and do not have workaroud. Have you noticed that
<Ctrl>Up works. It seems GTK reserve Up.
In fact if you try in gnome to bind shortcuts to Up, a message warns you that
that "would interfere with normal operation"...
sandro
*:-)
More information about the pygtk
mailing list