Thanks Norbert, your solution works for me.
For whatever reason, i do not seem to have to grab the focus, although
maybe i'm subtly degrading conformance to some expected behavior. I'm
too dense to see what it is, though.
Also, for me, the name "button-press-event" works just as well as
"button_
> I have an gtk_entry [...] and i would like to capture clicks
> in the entry [...] depending on what modifier keys are held
You can use g_signal_connect (..., "button_press_event", G_CALLBACK
(Function), NULL); Then in Function, check if (event->button.state ==
GDK_SHIFT_MASK) {} else {}. Also do