def bootstrap_frame(frametype, *args, **kwargs): from wx.lib.mixins.inspection import InspectableApp import util.i18n app = InspectableApp(0) guiconfig.load_icons() util.i18n.install_dummy_translator() frame = frametype(*args, **kwargs) frame.Show() app.ShowInspectionTool() app.MainLoop()
def OnInit(self): self.InitXULRunner() self.FindXULRunnerVersion() self.ShowSplashScreen() self.starting = True self.restarting = False self.reload_restarting = False dprint(MESSAGE, "App Init") guiconfig.load_icons() from wx import xrc self.res = xrc.XmlResource(config.xrc_path + "auifrm.xrc") return True
def OnInit(self): self.InitXULRunner() self.FindXULRunnerVersion() self.ShowSplashScreen() self.starting = True self.restarting = False self.reload_restarting = False dprint(MESSAGE, "App Init") guiconfig.load_icons() from wx import xrc self.res = xrc.XmlResource(config.xrc_path+"auifrm.xrc" ) return True