Re: background colors in apps



This is quite easy to do with rc files.  For GNOME applications, if the
application name is 'gnome-prog', then the rc file ~/.gnome/gnome-progrc
will be parsed on startup.  Also ~/.gtkrc will be parsed by all gtk apps
on startup (the ~/.gnome/gnome-progrc file would take precedence).

In these files, you could quite esily set the colour scheme with something
like this:
  style "default"
  {
    bg[NORMAL] = { 0.rr, 0.gg, 0.bb }
    bg[ACTIVE] = ...
    bg[PRELIGHT] = ...
    bg[SELECTED] = ...
    bg[INSENSITIVE] = ...
    fg[NORMAL] = ...
    ...
  }
  widget_class "*" style "default"

James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Sun, 27 Jun 1999 jason@whizzird.net wrote:

> is there a setting to change the background (and then hopefully the foreground)
> color in gtk apps like gvim, gIDE, Balsa, etc. And is there a way to make it
> application specific? I'd like to make balsa black on light grey and make gvim
> white on black.
> 
> ----------------------------------
> jason majors
> E-Mail: jason@whizzird.net
> Date: 27-Jun-99
> Time: 02:12:07
> gtkICQ: 41540388
> 
> Linux Power! 
> You will be de-assimilated.
> ----------------------------------
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



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