From: Alec B. <wry...@gm...> - 2008-12-30 20:24:24
|
The final thing I need to be able to do is pass the app a parameter. Can you see an easy way to do that? Something like this... Note the "test" and "dummy" below. This fails with "No such file or directory: 'test'". from PythonCard import model import wx class Minimal(model.Background): def __init__(self, aParent, dummy, aBgRsrc): aBgRsrc.style = ['wx.DEFAULT_FRAME_STYLE','wx.STAY_ON_TOP'] model.Background.__init__(self, aParent, dummy, aBgRsrc) if __name__ == '__main__': app = model.Application(Minimal, "test") app.MainLoop() |