> 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
I have an gtk_entry which normally holds some text, and i would like
to capture clicks in the entry.
More exactly, i would like to capture a mouse click, and then do
something to the text in the entry depending on what modifier keys are
held when the click is made.
I've been looking through the d
On 02/17/2017 08:26 PM, cecas...@aol.com wrote:
> David,
>
> I asked a question about this on the gtk-devel-list
>
> https://mail.gnome.org/archives/gtk-devel-list/2017-January/msg00018.html
>
> last month. A lot I didn't know about this. For UTF-8 it is a bit complicated
> even for English. For