[Gtk-sharp-list] Reparenting rows in a TreeView

Alexandros Frantzis alfius at freemail.gr
Wed Mar 14 06:27:58 EDT 2007


Hello,
does anyone know of an efficient way to reparent a hierarchy of rows
from one point of a TreeView to another (at a different level)? The best
I have found so far is to just recursively copy the rows/data to their
new position and delete the old rows...

eg from

\--A
   \--A1
\--B
   \--C
      \--D
   \--E

to

\--A
   \--A1
      \--C
         \--D
      \--E
\--B

Thanks,
Alexandros



More information about the Gtk-sharp-list mailing list