Forum: Poser Python Scripting


Subject: Performing further wxApp iniitalisation within poser.WxAuiManager environs

an0malaus opened this issue on Oct 14, 2019 ยท 9 posts


an0malaus posted Mon, 14 October 2019 at 7:33 AM

Thanks Freddi, I think I may have found the solution by trawling through some of SnarlyGribbly's scripts. It appears that

import wx, wx.aui, wx.lib.agw.aui as aui

wx.StockGDI._initStockObjects()

is the thing which finally initialises what I need, since now:

>>> wx.WHITE
wx.Colour(255, 255, 255, 255)

I get what I expect from that initialised name, rather than just wx.Colour(), which is no use to man or beast.

Off to plug it in and check it out.



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.