Re: Cancel a Drag & Drop for some specific items in a Gtk.TreeView

2018-10-02 Thread Yuri Khan via gtk-app-devel-list
On Tue, Sep 11, 2018 at 4:27 AM c.buhtz--- via gtk-app-devel-list wrote: > I have a Gtk.TreeView here. Most but not all of the items should be > able to be dragged & dropped. For example the first item should not be > able to be dragged & dropped but it should be selectable. > > How can I

Re: Cancel a Drag & Drop for some specific items in a Gtk.TreeView

2018-09-11 Thread c.buhtz--- via gtk-app-devel-list
On 2018-09-11 13:50 Yuri Khan wrote: > Reading the “GtkTreeView drag-and-drop”[1] page, I get the impression > that you’d need to implement a wrapper around GtkTreeStore, or > possibly a class derived from GtkTreeStore, that also overrides the > row_draggable method so that it returns False for