On 7 May 2011 15:55, Neil Muller <[email protected]> wrote: > You can do via TreeViewColumn.set_cell_data_func and calling > set_property on the cell renderers.
This approach has cleaned up my code somewhat, but there's one snag I've hit. The object with the properties I'm showing in the table is a subclass of GObject, and it has a "use" property that is displayed in a CellRendererToggle in the table. It's easy enough to connect to the "activate" signal and change the "use" property in the object, but it's going to other way I'm having problems with, ie. updating what the table displays when the "use" property changes in the object. Is there a way to tell the CellRenderer to redraw, or recheck? Cheers, Jason _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
