Re: textview widget selection buffer_select_range is cleared when dialog closes (intermittently?)

2017-02-21 Thread David C. Rankin
On 02/22/2017 12:34 AM, David C. Rankin wrote: > All, > > I have a textview widget being used in an editor where an incremental search > is performed. The matched words are highlighted with: > > gtk_text_buffer_select_range (buffer, , ); > > After the last match in the search range (either

textview widget selection buffer_select_range is cleared when dialog closes (intermittently?)

2017-02-21 Thread David C. Rankin
All, I have a textview widget being used in an editor where an incremental search is performed. The matched words are highlighted with: gtk_text_buffer_select_range (buffer, , ); After the last match in the search range (either whole buffer, from cursor [insert mark] or by selection), a

Re: GTK3 Glade and rendering in Windows/Linux]

2017-02-21 Thread happy debugging
Finally could style with css and Glade in Windows adnd adjust the margins (actually using padding as the margin seems not be able to change it while in Linux it did). "GtkWindow" (instead of "window") is what seems needed to be used in Windows. Apparently Windows and Linux uses different css class

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

2017-02-21 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.

Re: GTK3 Glade and rendering in Windows/Linux]

2017-02-21 Thread Happy
That works, but this only does work on Linux. On Windows it reads the css file but the css is not applied. http://wikistack.com/use-css-gtk/ With as css: window  { background-color:rgba(233,23,34,1); } Thanks On Sun, 2017-02-19 at 08:25 -0800, Phil Wolff wrote: > In the example you cite,