I believe that GDK_MOD1_MASK works for the Alt key...Im not sure why it isnt
META or something, but...
Later,
Chicane

Leonardo Zide wrote:

>   Hi,
>
>   I'm writing an application and I want to use the backspace key as an
> accelerator to one of the menu items but it doesn't work (all other keys
> work correctly). I decided to take a look at the GTK source and I found
> out that inside the function gtk_accelerator_valid () it's listed as an
> invalid accelerator. Why you're not allowed to use the backspace key as
> an accelerator ?
>
>   Also, the program that I'm writing is a conversion of a Win32 program
> and sometimes I need to know if the Alt key is pressed. What's the best
> way to do that ?
>
> Leonardo
>
> --
> To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to