Re: How to bring up tooltip text for certain words in a GTK textview?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i have had to do this and solved it just like you have proposed.  if you do go with this method, some heads-ups: the "extra" issues one must handle when doing this are:
but, i can verify that this method should work.  if you'd like the little bit of code i've come up with to solve this problem, let me know, happy to forward.

cheers,

richard

On Wed, May 19, 2010 at 7:50 PM, Ken Resander <kresander@xxxxxxxxx> wrote:
A textview shows help text with many 'technical' words that users may not know or remember. I would like a tooltip text with a short explanation to pop up when a user hovers the cursor over a technical phrase. There is a lookup table from technical phrases to explanations. I am thinking about using the mouse move event to get x,y then getting the technical phrase from x,y, then looking up the explanation and outputting the tooltip text.

Are there better ways?



_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux