On Sat, 23 Apr 2005 11:04:08 +0200
Gian Mario Tagliaretti <[EMAIL PROTECTED]> wrote:

> 2005/4/23, Nemesis <[EMAIL PROTECTED]>:
> > Hi all,
> > I'm trying to change the color of the cursor inside a TextView
> > Widget. I set the background color of the widget (with the
> > modify_base method) to black, but the cursor is black to and I'd
> > like to change its color to white or anything else I can see on
> > black. I tried with the modify_text and modify_fg methods, but
> > didn't work.
> 
> Have a look at FAQ 5.6:
> http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq05.006.htp

I already read that faq, but it seems to me that it is about the mouse
pointer, I'd like to change the _text_ cursor displayed when you write
inside a TextView.

> you can use a cursor provided by pygtk or make one your own:
> http://www.pygtk.org/pygtk2reference/class-gdkcursor.html

This is the same:
"A gtk.gdk.Cursor represents a bitmap image used for the mouse pointer."



-- 
 
 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to