Re: GdkModifiers bitmask and GDK_SHIFT_MASK question

2006-05-18 Thread Yeti
On Fri, May 19, 2006 at 01:51:07AM +0200, Enrico Tröger wrote: > I have another problem regarding keyboard shortcuts: > in my code I set a bitmask in the following way: > > GdkModifier modifiers = GDK_SHIFT_MASK | GDK_CONTROL_MASK; > guint key = GDK_r; > > So, this should represent Ctrl+Shift+r.

GdkModifiers bitmask and GDK_SHIFT_MASK question

2006-05-18 Thread Enrico Tröger
Hi, I have another problem regarding keyboard shortcuts: in my code I set a bitmask in the following way: GdkModifier modifiers = GDK_SHIFT_MASK | GDK_CONTROL_MASK; guint key = GDK_r; So, this should represent Ctrl+Shift+r. In the callback function for a key-press-event I have the following code