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

src/g/r/gramps-3.4.2/src/gui/editors/displaytabs/eventembedlist.py   Gramps(Download)
class EventEmbedList(DbGUIElement, GroupEmbeddedList):
 
    _HANDLE_COL = 7
    _DND_TYPE   = DdTargets.EVENTREF
    _DND_EXTRA  = DdTargets.EVENT