[pygtk] Changing TreeModel while editing in a CellRenderer

Jakub Piotr Cłapa loc at toya.net.pl
Thu Apr 8 22:50:09 WST 2004


I have two TreeViews: trvProducts and trvElements. When I select a row 
in trvProducts (connected to cursor_changed) I load different rows into 
trvElements.

Everything is ok unless I add editable CellRenderers. When I click on 
trvProducts (changing the selected row) while editing a cell the 
'cursor_changed' callback occures earlier than 'edited' form the 
CellRenderer and the 'edited' handler modifies the new TreeModel (but is 
passed parameters (path, etc...) referring to the old one).

Something is wrong here.

-- 
regards,
Jakub Piotr Cłapa


More information about the pygtk mailing list