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 ScratchCitation(ScratchHandleWrapper):
 
    DROP_TARGETS = [DdTargets.CITATION_LINK]
    DRAG_TARGET  = DdTargets.CITATION_LINK
    ICON         = ICONS["citation"]

src/g/r/gramps-3.4.2/src/gui/editors/displaytabs/citationembedlist.py   Gramps(Download)
 
    _HANDLE_COL = 4  # Column number from CitationRefModel
    _DND_TYPE = DdTargets.CITATION_LINK
    _DND_EXTRA = DdTargets.SOURCE_LINK
 

src/g/r/gramps-3.4.2/src/plugins/view/citationtreeview.py   Gramps(Download)
                return DdTargets.SOURCE_LINK
        else:
            return DdTargets.CITATION_LINK
 
    def type_list(self):

src/g/r/gramps-3.4.2/src/plugins/view/citationlistview.py   Gramps(Download)
    def drag_info(self):
        return DdTargets.CITATION_LINK
 
    def define_actions(self):
        """