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 ScratchNote(ScratchHandleWrapper):
 
    DROP_TARGETS = [DdTargets.NOTE_LINK]
    DRAG_TARGET  = DdTargets.NOTE_LINK
    ICON         = ICONS["note"]

src/g/r/gramps-3.4.2/src/gui/editors/displaytabs/notetab.py   Gramps(Download)
 
    _HANDLE_COL = 2
    _DND_TYPE = DdTargets.NOTE_LINK
 
    _MSG = {

src/g/r/gramps-3.4.2/src/plugins/view/noteview.py   Gramps(Download)
    def drag_info(self):
        """
        Indicate that the drag type is an EVENT
        """
        return DdTargets.NOTE_LINK