[gps-users] Using a .gtkrc
Bobby D. Bryant
bdbryant@mail.utexas.edu
Tue, 29 Jul 2003 08:12:34 -0600
On 2003.07.29 07:45, Nicolas Setton wrote:
> What are you putting in your gtkrc file ?
> The correct syntax would be something like:
>
>
> style "textviews"
> {
> base[NORMAL]="#ffaadd"
> }
>
> class "GtkTextView" style "textviews"
Here it is with the keybindings stripped out for brevity:
# Define visual styles:
style "custom-text-style" = "default"
{
bg[NORMAL]="Wheat2"
bg[ACTIVE]="Wheat3"
bg[PRELIGHT]="Wheat2"
bg[SELECTED]="Wheat1"
bg[INSENSITIVE]="Wheat4"
}
# Assign visual styles to widgets:
class "GtkTextView" style "custom-text-style"
I also tried with the = "default" removed, but nothing changes.
The gtkrc is surely being parsed properly, or else I wouldn't see the
brief flash of wheat color while GPS is rendering the line numbers.
Thanks,
--
Bobby Bryant
Austin, Texas