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

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

src/g/r/gramps-3.4.2/src/ScratchPad.py   Gramps(Download)
class ScratchPersonLink(ScratchHandleWrapper):
 
    DROP_TARGETS = [DdTargets.PERSON_LINK]
    DRAG_TARGET  = DdTargets.PERSON_LINK
    ICON         = ICONS["person"]

src/g/r/gramps-3.4.2/src/gui/editors/editfamily.py   Gramps(Download)
    _HANDLE_COL = 13
    _DND_TYPE = DdTargets.CHILDREF
    _DND_EXTRA = DdTargets.PERSON_LINK
 
    _MSG = {

src/g/r/gramps-3.4.2/src/plugins/lib/libpersonview.py   Gramps(Download)
    def drag_info(self):
        """
        Specify the drag type for a single selection
        """
        return DdTargets.PERSON_LINK