Re: Accelmap value



You mean the altgr key is interpreted as alt key ?

In my tests, the <Alt> key is well recognized.

-in my accelMap file I put
<Alt>M
-in my Gtk menu, I can see next to the action
<Alt>M

But altgr is not

-in my accelMap :
<AltGr>M (I tried <AltGraph> but behaves the same)
-in my Gtk menu, I can see
M (the modificator has been removed)

It seems AltGr, as the Windows key, can be sometimes skipped or ignore
depending on OS (i'm on Suse 10.3) or locale....
Maybe better to ignore these keys ;)

2012/6/20, Olivier Sessink <oliviersessink gmail com>:
after a bit of testing, it seems to me that the altgr key advertises
itself just as <alt> to gtk...

Olivier

2012/6/19 drkmkzs <drkmkzs gmail com>:
Hi,

I'm using a gtk application with an accelmap file. All shortcuts with
Control, Shift, or Alt are currently available.

But if I want to add some shortcuts with AltGr key (key on the right
of the spacebar) it doesn't work (I think i'm not using the good
syntax in the accelmap because in the application menu, the modifier
is skipped)

For control, it's <Control>p
For alt, it's <Alt>p

So I try <AltGr>p, but it doesn't work.

Somebody could tell me which keyword I have to use in my Accelmap for
a shortcut using AltGr key ?

Thanks a lot,
Jean
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]