Re: want to capture a mouse click in an Entry

2017-02-18 Thread Norbert de Jonge
> 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

want to capture a mouse click in an Entry

2017-02-18 Thread Dan Hitt
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

Re: Does gtk2 provide a case 'in'-sensitive text search via 'gtk_text_iter_..._search'?

2017-02-18 Thread David C. Rankin
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