TreeView, How do you know which row is expanded or not?
- From: "Trust Me" <backslashforwardslash hotmail com>
- To: gtkmm-list gnome org
- Subject: TreeView, How do you know which row is expanded or not?
- Date: Fri, 21 Oct 2005 10:14:16 -0500
I have a Doc/View framework and everytime the Doc changes it notifies the
View to update its displayed data.
When the View updates it needs to update among other things a TreeView &
TreeModel based on the data of the Doc, its items can be removed, added or
moved around.
Currrently I just clear everything in the TreeModel in the View then add
everything again base on the
data of the Doc, but this does not preserive which rows were expanded and
the user must then
rexpend them.
How should I keep the rows expanded, while adding/removeing/moving items?
How can I tell which rows are expanded and not?
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]