Re: How to change a cursor style in GtkTextView?
- From: Olexiy Avramchenko <ath beast stu cn ua>
- To: mili <milimeter 163 com>
- Cc: gtk-list gnome org
- Subject: Re: How to change a cursor style in GtkTextView?
- Date: Fri, 30 Aug 2002 10:55:03 +0300
mili wrote:
Hello, Everyone
I want to change a cursor in a GtkTextView, such as in xemacs, changing to
more pixel width and color to red. Can I?
Hello,
You can create your own cursor with gdk_cursor_new_from_pixmap and set its
fg and bg colours:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-cursors.html
Then you can show it with gdk_window_set_cursor:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-windows.html
Also you can set it with gdk_pointer_grab:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-general.html
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]