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

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
Represents the fields needed by a drag and drop target.

src/g/r/gramps-3.4.2/src/ScratchPad.py   Gramps(Download)
class ScratchMediaRef(ScratchObjWrapper):
 
    DROP_TARGETS = [DdTargets.MEDIAREF]
    DRAG_TARGET  = DdTargets.MEDIAREF
    ICON         = LINK_PIC

src/g/r/gramps-3.4.2/src/gui/editors/displaytabs/gallerytab.py   Gramps(Download)
class GalleryTab(ButtonTab, DbGUIElement):
 
    _DND_TYPE   = DdTargets.MEDIAREF
    _DND_EXTRA  = DdTargets.URI_LIST