Exemple #1
0
 def __drag_data_get_cb(self, widget, context, selection, info, time):
     # HACK:  Gtk.TreeDragSource does not work for us on Gtk 3.16+, so
     #        use our drag source code instead
     path, _column = self.tree_view.get_cursor()
     model = self.tree_view.get_model()
     model.do_drag_data_get(path, selection)
Exemple #2
0
 def __drag_data_get_cb(self, widget, context, selection, info, time):
     # HACK:  Gtk.TreeDragSource does not work for us on Gtk 3.16+, so
     #        use our drag source code instead
     path, _column = self.tree_view.get_cursor()
     model = self.tree_view.get_model()
     model.do_drag_data_get(path, selection)