[Sugar-devel] Background Screen Color for SoaS Activity

Art Hunkins abhunkin at uncg.edu
Mon Jul 6 22:46:47 EDT 2009


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?

Art Hunkins

----- Original Message ----- 
From: "Tomeu Vizoso" <tomeu at sugarlabs.org>
To: "Art Hunkins" <abhunkin at uncg.edu>
Cc: <sugar-devel at 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<abhunkin at 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 at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>


More information about the Sugar-devel mailing list