Re: How to set cursor color in GtkEntry?
- From: Zeeshan Ali <zeenix gmail com>
- To: "HOCHSTETLER, BRUCE W. (JSC-DV3/T) (TSI)" <bruce w hochstetler1 jsc nasa gov>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: How to set cursor color in GtkEntry?
- Date: Sat, 12 Feb 2005 10:01:15 +0500
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]