jbrender
01-22-2009, 09:18 AM
Hallo,
i built my UI with wx python in maya works perfekt.
The Problem is that i can`t colse the Window any more I have to close Maya
import wx, Pmw, re, os, time,copy,sys,random ,shutil,thread
class wxHelloFrame(wx.Frame):
"""here are the controls for my window"""
class wxHelloApp(wx.App):
""" """
def OnInit(self):
""" """
frame = wxHelloFrame(None, title="wxHello")
frame.Show()
return True
if __name__ == "__main__":
app = wxHelloApp()
args = tuple()
ui = thread.start_new_thread(app.MainLoop,args)
anny suggestion
thanks
Jan
i built my UI with wx python in maya works perfekt.
The Problem is that i can`t colse the Window any more I have to close Maya
import wx, Pmw, re, os, time,copy,sys,random ,shutil,thread
class wxHelloFrame(wx.Frame):
"""here are the controls for my window"""
class wxHelloApp(wx.App):
""" """
def OnInit(self):
""" """
frame = wxHelloFrame(None, title="wxHello")
frame.Show()
return True
if __name__ == "__main__":
app = wxHelloApp()
args = tuple()
ui = thread.start_new_thread(app.MainLoop,args)
anny suggestion
thanks
Jan
