Re: How to change a cursor style in GtkTextView?

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?

You can create your own cursor with gdk_cursor_new_from_pixmap and set its
fg and bg colours:

Then you can show it with gdk_window_set_cursor:

Also you can set it with gdk_pointer_grab:


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