Examples of cursor changes in Gtk::Text



Greets.

I'm looking for examples of changing the cursor type inside a Gtk::Text
widget. What I'm after is to use a 'hand' cursor when the mouse is over
an url. 

In our app the url part highlighting with a Gtk::Text widget is done but
I'm not exactly sure how to detect what is under the pointer in a
Gtk::Text widget. I'm pretty sure I can find the x,y position within the
Gtk::Text widget easy enough.

Thoughts? Examples? Am I just going about this the wrong way? I should
add that currently gtk1 is in use, not gtk2.

-- 
Scott Russell <lnxgeek us ibm com>
Linux Technology Center System Admin
http://ltc.linux.ibm.com/




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