Re: [java-gnome-hackers] What is the simplest way to change widget background?
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2003-03-20 15:40:46
|
On Fri, 2003-03-07 at 21:45, Tom Ball wrote: > I have a Label whose background I'd like to be the same color as the > background of other text widgets (white, on my system). What's the > simplest way to set it? > > I've tried setBackgroundColor, setTextColor, and setBaseColor (all for > all standard states) without any effect. I was even considering a Pango > markup string, but realized that it would only change the background of > the text, not the whole widget. The widget is defined by a Glade file, > but I can't find how to set the color there, either. Sorry, I don't know how this would be achieved, if it's possible. If you know of any gtk applications which do this anywhere (I can't think of any at the moment), then try looking at the source code to see how they do it. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |