Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
There is no such thing like "registering". The whole Poser-UI is based on the Toolkit "WxWidgets", a Cross-Plattform GUI with bindings for several programming languages. In Poser wxPython is used as binding for Poser Python.
If you want to have your own created (wx)window managed by Posers GUI, you have to use the wx.aui.AuiManager handled by Poser (manager=poser.WxAuiManager()). Anything else you have to know is how to deal with wxWidgets AUI Manager.
See https://wxpython.org/Phoenix/docs/html/wx.aui.AuiManager.html
Hmm. So if I understand this well: Addons need registration (poser.RegisterAddon )to become part of the process loop and be warned about events.
GUI panes van be managed by Poser without being part of an Add-on.
The Python Shell addon does not have any visible callback functions set up but uses the addon system do become persistent ove Poser restarts.
Is there a wxPanel class that supports the drag-drop etc?
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Can anyone help me to a clear and concise example of an add-on registrering a panel in the Poser GUI and doing something? The examples that come with Poser either are either no doubt brilliant but obfuscated (Python console example) or complicated and essential structure is hard to find (MoCap)