Hi,
I just isolated basic UI codes from the upcoming leveleditor and checked them in to direct/src/wxwidgets.
So you can use this as a basic template to write your panda code running with wxPython UI.
Here is a simple script to show you how to use it.
from direct.wxwidgets.WxPandaShell import *
class MyApp(WxPandaShell):
def __init__(self):
WxPandaShell.__init__(self, fStartDirect=True)
wx.StaticText(self.leftBarUpPane, -1, "self.leftBarUpPane")
wx.StaticText(self.leftBarDownPane, -1, "self.leftBarDownPane")
wx.StaticText(self.rightBarUpPane, -1, "self.rightBarUpPane")
wx.StaticText(self.rightBarDownPane, -1, "self.rightBarDownPane")
MyApp()
run()
FYI, with fStartDirect flag set, you can manipulate camera by similar way to Maya.