I have a TreeView whose model is a list of Tags. Each tag has two
properties: Active (bool) and Name (string). There are two columns in the
treeview: a column of CellRendererToggles for Active, and CellRendererTexts
for Name. I use information about which tags are active to filter what rows
are shown in another TreeView.

One of the tags is called "All Tags". When this tag is Active, I want to
disable the checkbox for all the other tags (since it doesn't matter whether
they are active or not). So in the render func for the checkbox, I set the
CellRendererToggle to Sensitive = !allTags.Active and Activatable =
!allTags.Active, if the Tag in the cell is not allTags. However, these
changes do not display until I mouse-over the cell.

How do I change Active and Sensitivity for multiple CellRendererToggles, and
have the changes display immediately?
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to