[pygtk] CellRendererToggle 'toggled' callback: path problem
Alexander Konovalenko
a-konovalenko at yandex.ru
Sat Mar 11 23:25:14 WST 2006
I'm trying to attach a callback to the gtk.CellRendererToggle's
'toggled' signal. According to the API reference, the callback
receives the path of the toggled cell as its second argument.
The docs also specify that all the paths received from PyGtk are
passed as tuples. However, in this case the path is passed as
a string.
Attached is a small script to reproduce the problem, along with its
output. Here I expected the paths to be tuples that look like (0,),
(2,), (5,), but actually they are strings: '0', '2', '5'.
Is this a bug?
(Please CC me.)
More information about the pygtk
mailing list