RE: GdkEventKey difference between Windows and Linu x.
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <B1F38D7B53615140BCEA6677DF9F2F8C011111BC@i2km11-ukbr.domain1.systemhost.net> |
Oh yes sorry, For Linux, it is the standard Redhat 8.0 build (glib 2.0.6 and gtk2.0.6) For Windows, it is glib 2.0.7 and gtk 2.0.9. As for the MOD2 thing, I was a little suprised, but went along with it. I would appreciate it if you could have a look on your box to verify this, because if this is a bug, it means that Windows users are limited (currently) to half the number of characters (in the alphabet) when doing combinations with Ctrl. Regards, Martyn > -----Original Message----- > From: Tor Lillqvist [mailto:[email protected]] > Sent: 20 December 2002 06:24 > To: [email protected] > Subject: [gimpwin-dev] GdkEventKey difference between Windows > and Linux. > > > [email protected] writes: > > I have written an application to call functions on particular key > > combinations, however, I have found some discrepancies > between how Windows > > and Linux define what should be the same key press event. > > In my example, I am attempting to capture Ctrl+r (case > sensitive) to call a > > function. > > And the versions of GTK+ you use on Linux and Windows are? > > > On Linux, the event->state returned is a combination of the bits > > GDK_CONTROL_MASK and GDK_MOD2_MASK. > > MOD2? Really? Sounds a bit odd to me. I can't check on any X11 machine > right now, but will once I get to work. > > --tml > > > > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> > Get 128 Bit SSL Encryption! > http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/NhFolB/TM > -------------------------------------------------------------- > -------~-> > > To Post a message, send it to: [email protected] > To Unsubscribe, send a blank message to: > [email protected] > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/