Features/GTK3/Porting/Finance

From Sugar Labs
< Features‎ | GTK3‎ | Porting
Revision as of 11:40, 2 July 2012 by Humitos (talk | contribs)
Jump to navigation Jump to search
AttributeError: 'EventBox' object has no attribute 'get_colormap'

replaced by:

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


col = Gtk.TreeViewColumn(_('Description'), renderer)
col.set_cell_data_func(renderer, self.description_render_cb) 

Receives another argument: data

def description_render_cb(self, column, cell_renderer, model, iter, data):