Re: [PyGObject] Drag & Drop in a TreeView




If it's only for reordering the elements in the tree view, you can use
the built-in Gtk.TreeView.set_reorderable() method [1], and you're all
set.  You get inserted/deleted signals for moved rows so you can know
when and how things changed if needed, and the underlying model is also
changing accordingly.
Of course. Thank you very much, Colomban. It is unbelievable how complicated I can make simple things.

Cheers,
Reuben


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