Examples of cursor changes in Gtk::Text
- From: Scott Russell <lnxgeek us ibm com>
- To: gtk-perl-list gnome org
- Subject: Examples of cursor changes in Gtk::Text
- Date: 10 Apr 2003 18:42:51 -0400
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]