Re: Chage colour on a Gtk::Frame



On Thu, 2006-10-26 at 05:12 +1100, Steven Greenslade wrote:
> Hi,
> 
> I have a slight problem, in being unable to change a Gtk::Frame so it 
> has a white background. Sounds simple enough, but nothing I'm trying is 
> working, so I figure I might as well down tools and get the proper way 
> of doing things. =]
> (I've looked at RC files, but can't for the life of me see how to 
> actually apply the styles once you create your Gtk::RC object...)

frames don't have their own windows, so you can't change the background
color. they draw on their parent window.

use an event box, and change its bg color.





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