This is probably more of a GTK2 question rather than being pygtk-specific, 
but I wonder if anyone here has come across it.  I have a TextView whose 
background is set to black via a gtkrc file:

        style "foo"
        {
                text[NORMAL] = {1.0, 1.0, 1.0}
                base[NORMAL] = {0.0, 0.0, 0.0}
        }
        widget_class "*GtkTextView" style "foo"

which works fine.  However, the TextView cursor is drawn in black and can't
be seen against the black background.  Note that the cursor is set to be
visible with set_cursor_visible(gtk.TRUE), and it is visible if the style
isn't applied.  Is there any way to make the cursor visible against a black
background?  I tried (hoped) that adding a fg[NORMAL] = {1.0, 1.0, 1.0} would
work, but it doesn't seem to.

thanks,
brad


_______________________________________________
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