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 ScratchName(ScratchObjWrapper):
 
    DROP_TARGETS = [DdTargets.NAME]
    DRAG_TARGET  = DdTargets.NAME
    ICON         = ICONS['name']

src/g/r/gramps-3.4.2/src/gui/editors/displaytabs/nameembedlist.py   Gramps(Download)
class NameEmbedList(GroupEmbeddedList):
 
    _HANDLE_COL = 2
    _DND_TYPE   = DdTargets.NAME
    _WORKGROUP = NameModel.ALTINDEX