Re: Changing background color for a box widget




On Jun 5, 2006, at 9:23 AM, Mike Martin wrote:

I have tried with rc files and modify_bg but it doesn't seem to take.

There is some simple reason to do with how style settings depend on whether a widget has a window or not, but i can't remember the details at the moment. Suffice to say that packing the HBox into an EventBox and calling modify_bg() on the EventBox works.


--
"Ghostbusters" is the best movie of this decade.
  -- Neal, circa 1996, referring to a movie released in 1984.




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