[pygtk] Color of a Blinking Text Cursor

Gian Mario Tagliaretti gianmt at gnome.org
Mon Jul 30 19:58:20 WST 2007


2007/7/30, Gian Mario Tagliaretti <gianmt a gnome.org>:
> 2007/7/30, idiat <idiatic a gmail.com>:
> > HOW do I change the color of a blinking text cursor?
>
> GTK+ 2.12 will have a gtk_widget_modify_cursor
> http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#id3745047
>
> I didn't tried myself yet, but seams to be the one.

Answering to myself... I just tried and fixed the method in SVN
allowing None as parameters (to reset the color), if you want to try
it out it's there.

cheers
-- 
Gian Mario Tagliaretti


More information about the pygtk mailing list