Difference between revisions of "Features/GTK3/Porting/Finance"

From Sugar Labs
< Features‎ | GTK3‎ | Porting
Jump to navigation Jump to search
(Created page with " AttributeError: 'EventBox' object has no attribute 'get_colormap'")
 
Line 1: Line 1:
 
  AttributeError: 'EventBox' object has no attribute 'get_colormap'
 
  AttributeError: 'EventBox' object has no attribute 'get_colormap'
 +
 +
replaced by:
 +
 +
parse, color = Gdk.Color.parse('#000000')
 +
self.helpbox.modify_bg(Gtk.StateType.NORMAL, color)

Revision as of 10:26, 2 July 2012

AttributeError: 'EventBox' object has no attribute 'get_colormap'

replaced by:

parse, color = Gdk.Color.parse('#000000')
self.helpbox.modify_bg(Gtk.StateType.NORMAL, color)