#3026 NORM Untriag: gtk.Layout widget doesn't set proper background

Zarro Boogs per Child bugtracker at laptop.org
Sat Aug 25 23:17:39 EDT 2007


#3026: gtk.Layout widget doesn't set proper background
--------------------+-------------------------------------------------------
 Reporter:  gregt   |       Owner:  jg       
     Type:  defect  |      Status:  new      
 Priority:  normal  |   Milestone:  Untriaged
Component:  distro  |     Version:           
 Keywords:          |    Verified:  0        
--------------------+-------------------------------------------------------
 I was using gtk.Layout() to layout my widgets and it set the background
 color of the layout to the fill color of the button which made all of my
 widgets appear broken or invalid.

 I believe this needs to be fixed - I had to add something along the
 following lines to correct it:
 layout.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse("#C0C0C0"))

 Although, that's probably the wrong color :)

-- 
Ticket URL: <http://dev.laptop.org/ticket/3026>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list