> I getting mad with CellRendererToggle... > When I get the event "toggled", I call this function: > > def toggleCheck (celula, path): > self.list [path][2] = not self.list [path][2] > > But, it doesn't change the state of the togglebutton...
Why would that change the state of the togglebutton? You can either manually set the state you want the togglebutton to be, or you can bind the renderer to a value in your treemodel. There are great examples and documentation for doing this in the standard pygtk reference.
signature.asc
Description: Digital signature
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
