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 ScratchRepositoryLink(ScratchHandleWrapper):
 
    DROP_TARGETS = [DdTargets.REPO_LINK]
    DRAG_TARGET  = DdTargets.REPO_LINK
    ICON         = ICONS["repository"]

src/g/r/gramps-3.4.2/src/gui/editors/displaytabs/repoembedlist.py   Gramps(Download)
class RepoEmbedList(EmbeddedList, DbGUIElement):
 
    _HANDLE_COL = 4
    _DND_TYPE = DdTargets.REPOREF
    _DND_EXTRA = DdTargets.REPO_LINK

src/g/r/gramps-3.4.2/src/plugins/view/repoview.py   Gramps(Download)
    def drag_info(self):
        return DdTargets.REPO_LINK
 
    def define_actions(self):
        ListView.define_actions(self)