Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/g/r/gramps-3.4.2/src/gui/editors/displaytabs/gallerytab.py   Gramps(Download)
 
        dnd_types = [ self._DND_TYPE.target(), self._DND_EXTRA.target(),
                      DdTargets.MEDIAOBJ.target()]
 
        self.iconlist.enable_model_drag_dest(dnd_types,

src/g/r/gramps-3.4.2/src/gui/editors/objectentries.py   Gramps(Download)
    def _init_dnd(self):
        """connect drag and drop of places
        """
        self.label.drag_dest_set(gtk.DEST_DEFAULT_ALL, [DdTargets.MEDIAOBJ.target()], 
                               gtk.gdk.ACTION_COPY)