Re: [gtkmm] collapse_row(path) - strange problem - solved!!!



Murray Cumming Comneon com wrote:

[...]

When I try to do
path.up();
MyTree->collapse_row(path);
somewhere in the middle of a tree (as a reaction for a mouse click on a row) - collapses all the tree.

I guess that would make sense if path is a first-level row. Up would then
take it to the root node.
It was in an event-handler and I had to put after all this "return true".
Now it works! Why is it so I don't know right now, it may be described
somewhere.
   Igor Grobounov






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