>Usually, the way you do that is use the 'state' field of events 
>like key presses and mouse events. You can test
>
> if (event->state & GDK_MOD1_MASK)
>  {
>    /* Do ALT key stuff */
>  }

This is one of the more broken things in GDK, actually, mod1 is far
from always alt.

I have meta on mod1 and alt on mod2. Others have Hyper or some other
key on mod1. 

The modifiers are in no way fixed. It is, however, common that Alt is
mod1.

-- 
Per Hedbor                                        http://per.hedbor.org/

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

Reply via email to