def __init__(self, params, *args, **kargs): """available kargs: port""" BaseNavigatorApp.__init__(self, params, *args, **kargs) self.config_data = ConfigData(self.params) self.initialised = False self.factory = None self.listener = None self.OnInit()
def __init__(self, params, *args, **kargs): """available kargs: port""" BaseNavigatorApp.__init__(self, params, *args, **kargs) self.config_data = ConfigData(self.params) self.redraw_pending = False self.dialogs = None self.windows = None self.menubars = None # fields initialised by InitResources self.main_window = None self.main_menubar = None self.progress_dialog = None # Caution : wx.App.__init__ automatically calls OnInit(), # thus all data must be initialized before wx.App.__init__(self, *args, **kargs)
def __init__(self, params=None, *args, **kargs): """available kargs: port""" BaseNavigatorApp.__init__(self, params, *args, **kargs) self.config_data = ConfigData self.listener = None self.OnInit()