[PyGObject] Drag & Drop in a TreeView

2018-07-22 Thread c.buhtz--- via gtk-app-devel-list
I am totally confused about this topic. I think I miss some fundamental understanding on how PyGObject works here. I want to drag & drop items of one TreeView inside itself. Not other widgets or applications. I just want to drag item 2 and drop it between item 4 and 5. I found some resources abou

Re: [PyGObject] Drag & Drop in a TreeView

2018-07-22 Thread c.buhtz--- via gtk-app-devel-list
I see attachments are removed This is the code #!/usr/bin/env python3 import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk from gi.repository import Gdk class MainWindow(Gtk.Window): def __init__(self): Gtk.Window.__init__(self, title="TreeView Drag and Drop")