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

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

src/g/r/gramps-3.4.2/src/gui/pluginmanager.py   Gramps(Download)
                            "Use the get_instance() method")
 
        gen.utils.Callback.__init__(self)
        self.basemgr = BasePluginManager.get_instance()
        self.__hidden_plugins = set(config.get('plugin.hiddenplugins'))

src/g/r/gramps-3.4.2/src/DisplayState.py   Gramps(Download)
    def __init__(self, dbstate, nav_type):
        gen.utils.Callback.__init__(self)
        self.dbstate = dbstate
        self.nav_type = nav_type
        self.clear()
        self.progress_monitor = progress_monitor
        self.window = window
        gen.utils.Callback.__init__(self)
        self.status = status
        self.status_id = status.get_context_id('GRAMPS')

src/g/r/gramps-3.4.2/src/gen/plug/menu/_option.py   Gramps(Download)
        @return: nothing
        """
        gen.utils.Callback.__init__(self)
        self.__value = value
        self.__label = label

src/g/r/gramps-3.4.2/src/DbState.py   Gramps(Download)
        just a place holder until a real DB is assigned.
        """
        Callback.__init__(self)
        self.db      = DbBsddbRead()
        self.open    = False