Making rows in a GTK TreeView unselectable
问题 I want to make select rows of a PyGTK Tree-view (coupled to a List Store) un-selectable and if possible,greyed out. Is there a way to do this? 回答1: This is a bit hackish minimal code, but it will make it impossible to select the middle row ('B'). If you wish that the previous selection should be remembered it ought to be quite easy to just store which rows are selected at the end of the signal-callback and overwrite current selection if a bad row was selected. As for the individual rows and