Re: To share a dirty hack on a treeview




On Feb 16, 2005, at 10:28 PM, ofey aikon wrote:

The fact I hate most is that I need a dummy row (on top) and I can't find a way to hide it. This row is needed as an asylum for that incorrigible row-highlight-bar of the treeview. If I don't use this dummy row, I can still change the color of the cell but it will stay hidden under the row highlight till I click on another row.

Not sure why i didn't think of this in IRC, but if you're planning to handle selection highlighting yourself, why not just disable the built-in selection? $tree_view->get_selection->set_mode ('none');

By the way, there's no way to clear the highlight you've set up.  ;-)


--
"it's hard to be eventful when you have this much style."
   - me, rationalizing yet another night of sitting at home.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]