Re: pixmaps within widgets etc.



shogun wrote:

> Cool..
>
> I've got a pretty stable Gnome install going here with the sources
> from anoncvs over the past 3 or 4 days... it seems to be getting easier
> to compile without too much trouble, except when someone updates CVS with
> broken code. ;)
>
> Now comes the important question..
>
> How do I get pixmaps in the backgrounds of apps like gmc and all of the other
> gtk apps as seen in the screen shots on www.gnome.org? :)
>
> Is there an Xresource string or a .gnome/configfile option to enable this?
> If it is easy to do, then it wouldn't be hard to add a control-panel option
> to configure this stuff.
>
> Any one know? :)
>
> Thanks
>
> --
>
> Matt Neville
> sho-gun@darkside.paniczone.com
>
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: 2.6.2
>
> mQBtAzTxwC8AAAEDAKO0dK/a//O1qwLz3AMtjTw2infCl4ugN7Kx8TJpnXPZAx+X
> J1BA8lT9RZz3d278hM1qpqV+kSmLLnyZU2dcICsnsX8w24p+YJvv2P/KVSADACXH
> iUm6IzOw+HQgHThe5QAFEbQtTWF0dCBOZXZpbGxlIDxzaG8tZ3VuQGRhcmtzaWRl
> LnBhbmljem9uZS5jb20+
> =PkS4
> -----END PGP PUBLIC KEY BLOCK-----
>
> --
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.

 What you are looking for is .gnome/gtkrc ;)
heres a sample:

# style <name> [= <name>]
# {
#   <option>
# }
#
# widget <widget_set> style <style_name>
# widget_class <widget_class_set> style <style_name>


style "ruler"
{
  font = "-*-Lucida-medium-r-*-*-10-*-*-*-*-*-*-*"
  bg[NORMAL] = { .25, .40, .40 }
}

style "default"
{
  font = "-*-Lucida-medium-r-*-*-10-*-*-*-*-*-*-*"
  bg[NORMAL] = { .25, .40, .40 }
  bg[INSENSITIVE] = { .25, .40, .40 }
  bg[PRELIGHT] = { .39, .52, .52 }
  bg[ACTIVE] = { .43, .60, .60 }

  fg[NORMAL] = { 0.0, 0.0, 0.0 }
  fg[SELECTED] = { 0.9, 0.9, 0.9 }
  fg[ACTIVE] = { 0.33, 0.2, 0.0 }
  fg[PRELIGHT] = { 0.5, 0.1, 0.0 }
}

widget_class "*Ruler*" style "ruler"
widget_class "*" style "default"


-Chris



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