In the below code setting cell to inconsistent sets entire column inconsistent (renderer).Howe ver, I need a third state off | on | inconsistent . How can I change one path->cell?
Any help appreciated.
Thanks
john
# get current value
fixed = model.get_value (iter, MARK_FOR_COLUMN )
icont = model.get_value (iter,MARK_FOR_ INCONSISTENT)
# clear for action
model.set(iter, MARK_FOR_INCONS ISTENT,False)
cell.set_proper ty('inconsisten t',False)
cell.set_proper ty('active',Fal se)
# ready for action
# find resolution to all being marked inconsistent
# flip modified as we are changing it
model.set_value (iter,MODIFIED_ COLUMN,not modified)
if icont:
cell.set_proper ty('inconsisten t',True)
else:
model.set(iter, MARK_FOR_INCONS ISTENT, not icont)
model.set(iter, MARK_FOR_COLUMN , not fixed)
model.set(iter, ICON_COLUMN, icon)
model.row_chang ed(path,iter)
_______________ _______________ _______________ __
Join Excite! -
http://www.excite.com
The most personalized portal on the Web!