示例#1
0
 def __init__(self):        
     widget_list = ['name', 'location', 'initial_date', 'scope']
     try:
         basics_model = Basic.get(1)
     except:
         basics_model = None
         
     ProxySlaveDelegate.__init__(self, basics_model, widget_list, 
                                 gladefile = 'ui', 
                                 toplevel_name = 'BasicsWindow')
示例#2
0
    def __init__(self):
        widget_list = ['name', 'location', 'initial_date', 'scope']
        try:
            basics_model = Basic.get(1)
        except:
            basics_model = None

        ProxySlaveDelegate.__init__(self,
                                    basics_model,
                                    widget_list,
                                    gladefile='ui',
                                    toplevel_name='BasicsWindow')
示例#3
0
    def __init__(self):
        ProxySlaveDelegate.__init__(self, self.model)
        self.config = config.Config()

        # Loading default values from GConf
        self._load_gconf_defaults()
        # Creating GConf notification handlers
        self._setup_gconf_notification()

        # Setting widgets
        self._setup_widgets()
        # Setting proxy
        self._setup_proxy()
 def __init__(self):
     ProxySlaveDelegate.__init__(self, None,
                                 gladefile="entry_editor",
                                 widgets=("name", "address", "phone"))
 def __init__(self):
     ProxySlaveDelegate.__init__(self,
                                 None,
                                 gladefile="entry_editor",
                                 widgets=("name", "address", "phone"))