On Tue, Jul 7, 2009 at 04:46, Art Hunkins<abhun...@uncg.edu> wrote: > Tomeu, > > I've had no luck modifying background color for anything except buttons. > > No boxes, even when the box is completely empty. > > Does anyone know how to change the color of the entire screen, or of a box?
I have done it routinely, can you share the whole code of your activity class? Regards, Tomeu > Art Hunkins > > ----- Original Message ----- From: "Tomeu Vizoso" <to...@sugarlabs.org> > To: "Art Hunkins" <abhun...@uncg.edu> > Cc: <sugar-devel@lists.sugarlabs.org> > Sent: Monday, July 06, 2009 4:26 AM > Subject: Re: [Sugar-devel] Background Screen Color for SoaS Activity > > >> On Mon, Jul 6, 2009 at 06:19, Art Hunkins<abhun...@uncg.edu> wrote: >>> >>> The default color for the Sugar Activity screen seems to be set to light >>> gray. I'd like mine to be white. >>> >>> Is there any way to change this in my activity script? >> >> That looks good to me, perhaps ibox contains some other widget that is >> covering it completely? >> >> Regards, >> >> Tomeu >> >>> I tried: >>> >>> import gtk >>> >>> win = csndsugui.CsoundGUI(self) >>> ibox = win.box(False) >>> ibox.modify_bg(gtk.STATE_NORMAL, gtk.gdk.Color(0xFFFF, 0xFFFF, 0xFFFF)) >>> >>> where ibox = the entire screen. >>> >>> However this changed nothing. >>> >>> Anything fairly straightforward I could try? >>> >>> Art Hunkins >>> >>> _______________________________________________ >>> Sugar-devel mailing list >>> Sugar-devel@lists.sugarlabs.org >>> http://lists.sugarlabs.org/listinfo/sugar-devel >>> > _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel