Re: [PyGObject] Drag & Drop in a TreeView
- From: <c buhtz posteo jp>
- To: gtk-app-devel-list gnome org
- Subject: Re: [PyGObject] Drag & Drop in a TreeView
- Date: Sat, 28 Jul 2018 23:17:17 +0200
Dear Colomban,
thanks for your great hint.
You get inserted/deleted signals for moved rows so you can know
when and how things changed if needed
This signals are also emited when I manually insert and delete data in
the model. How do I know if a insert/delete signal was caused by a drag
and drop "event"?
One workaround in my mind would be to do
Gtk.TreeView.set_reordable(False) when manipulating the model manualy
(without drag and drop).
Do you see another more elegant way?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]