Re: [PyGObject] Drag & Drop in a TreeView



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]