PDA

View Full Version : GTKRC: ackground image and gradient



killerwhale65
August 13th, 2008, 12:46 PM
Hi,

I was wondering if and how i can use a background images where i would normally use

bg[NORMAL]= "#080808"

Or a gradient?

Thanks!

Matt

AJB2K3
August 15th, 2008, 08:41 AM
Its something like
bg[NORMAL]="./images/plain_bg_bot_toolbar.png"
Cant be exact as its been a long time but I proved to various groupes that it was possible on windows.
http://ajb-2k3.deviantart.com/art/gimp-skin-1974965
http://ajb-2k3.deviantart.com/art/Gimp-in-violet-13451835

killerwhale65
August 15th, 2008, 02:48 PM
hi,

this seems not to work unfortunately.

geoken
August 15th, 2008, 05:46 PM
Download a pixmap theme so you can see the basic syntax required to use an image for a certain widget.

note: You will not be able use a widget and change it's color to a gradient with a pixmap. You will need to redraw the entire widget. For example, if you wanted a button to have some gradient on it, you would need to redraw the entire button and use that with a pixmap engine.

AJB2K3
August 15th, 2008, 07:33 PM
hi,

this seems not to work unfortunately.
Nope your right, its more like

bg[NORMAL]file ="./images/plain_bg_bot_toolbar.png"
How ever this is quite heavy stuff.
Try learning the basic of gtk themes first.

killerwhale65
August 16th, 2008, 11:40 AM
thanks, will try!