[Gambas-user] .TreeViewItem.ParentKey question

Bruce bbruen at ...2308...
Thu Jul 5 03:54:00 CEST 2012


Hi all,

I've been wondering (and reading QT4 documentation and gambas source)
why the ParentKey property of .TreeViewItem is read only.

Is there anything known that would prevent having it writeable?  

Reason? Because tree restructuring (prune a branch and graft it
somewhere else) in the treeview is fairly difficult (I feel) when the
depth of the selected branch is unknown.  If one could just update the
node parent, then presumeably all child nodes would just automagically
follow it.

regards
Bruce





More information about the User mailing list