Trees | Indices | Help |
|
---|
|
1 # Copyright (c) 2009 The Foundry Visionmongers Ltd. All Rights Reserved. 2 3 from nukescripts import pyAppUtils 46 """ Helper class to initialise wxWidgets in a separate thread """ 7279 super(pyWxAppHelper, self).__init__(start) 10 self.__pyWxAppType = wxApp 11 self.__pyWxApp = None 12 if start: 13 self.start()1416 import wx 17 if self.__pyWxApp is None: 18 self.__pyWxApp = self.__pyWxAppType() 19 import nuke 20 if not nuke.env['MACOS']: 21 self.__pyWxApp.MainLoop() 22 return self.__pyWxApp23
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jul 17 00:45:46 2020 | http://epydoc.sourceforge.net |