Re: [PyGObject] Drag & Drop in a TreeView
- From: Reuben Rissler <silrep emypeople net>
- To: gtk-app-devel-list gnome org
- Subject: Re: [PyGObject] Drag & Drop in a TreeView
- Date: Sat, 28 Jul 2018 07:41:55 -0400
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]