Re: GTK Queue Draw Subtle Question

2017-02-16 Thread Paul Davis
Sad to say, it seems that you're in a common position of not understanding the basic structure of a GUI program. In its simplest form, it looks like this: main () { initialize_stuff(); while (not_time_to_quit()) { wait_for_events_and_timeouts (); process_events_and_timeouts

g_convert() character encode converter failure for GBK to utf8

2017-02-16 Thread HUANG Weller (CM/ESW12-CN)
Hi Glib developers: We found a issue of g_convert() when convert the GBK encode to the UTF8. We are using glib-2.0_2.40.0. After doing some investigation, I feel it might be caused by the iconv APIs. Since the conversion also fail with the iconv API directly. As I understand the iconv API is co

Tooltip for GtkTextView contents

2017-02-16 Thread Daniel Kasak
Hi all. I'd like to provide help on special text ( tokens in code ) in a GtkSourceView / GtkTextView. I see my question is basically: https://mail.gnome.org/archives/gtk-list/2010-May/msg00107.html ... and the important part of the response to this question was: "Simply set text view's "has-too

Re: Tooltip for GtkTextView contents

2017-02-16 Thread Daniel Kasak
Also should note - the detection of whether the pointer is over a word or not ( $iter->inside_word ) *is* working correctly ... as my app appears to be returning correctly when I'm pointing at whitespace. It just prints blank lines when I point at some text. Dan On Fri, Feb 17, 2017 at 3:50 PM, D