Ejemplo n.º 1
0
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()
Ejemplo n.º 2
0
    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
Ejemplo n.º 3
0
	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