Re: How to set cursor color in GtkEntry?



Hello,
   I used to do such a thing and my way of doing such stuff was using
gtkrc files (which is what i still use). There are two arrays that you
need to set here: text and fg. Set them both to black for all possible
indexes and I think you'll get the behavior you want. Here is a how
the relevent part in you rc file would look like:

fg[NORMAL] = "black"
fg[ACTIVE] = "dark slate grey"
fg[PRELIGHT] = "black"
fg[SELECTED] = "black"
fg[INSENSITIVE] = "black"

text[NORMAL] = "black"
text[ACTIVE] = "dark slate grey"
text[PRELIGHT] = "black"
text[SELECTED] = "black"
text[INSENSITIVE] = "black"

    Hope it helps. Bye.



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