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 ScratchRepoRef(ScratchObjWrapper):
 
    DROP_TARGETS = [DdTargets.REPOREF]
    DRAG_TARGET  = DdTargets.REPOREF
    ICON         = LINK_PIC

src/g/r/gramps-3.4.2/src/gui/editors/displaytabs/repoembedlist.py   Gramps(Download)
class RepoEmbedList(EmbeddedList, DbGUIElement):
 
    _HANDLE_COL = 4
    _DND_TYPE = DdTargets.REPOREF
    _DND_EXTRA = DdTargets.REPO_LINK