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,

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

Re: [gtk-osx-users] Slow gdk_display_get_name() on macOS Sierra

2017-02-16 Thread Jiří Techet
By the way, I checked with wireshark and [NSHost currentHost] sends 3 pairs (IPv4 and IPv6) MDNS (multicast DNS used by Bonjour) PTR queries for the IPv6 address and waits for response until it times out. This really isn't a good method to be called by gdk_display_get_name() which could actually

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

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 ();