Forum: Poser Python Scripting


Subject: wxPython remember dock location

3doutlaw opened this issue on Jun 26, 2013 · 11 posts


3doutlaw posted Sun, 30 June 2013 at 10:12 PM

Ugh...I worked for a while today with SavePaneInfo and LoadPaneInfo, with awful results.  It would dock only in a single position, and was like in 2 pieces.  A docked piece, and a floating above it piece, that was unselectable.  When I undocked it, it came back together.  It appears to have all of the attributes needed (like Basils listed ones), but I could not get it to work (using Dizzi's example, and a lot of online doco and googling).  Obviously my problem. 

I attached it in case anyone has time to take a look.  I stripped it down to the bare docking and setup stuff, so it is pretty small.  It just loads and has a single file->save command, which create an INI file in c:temp.

You'll have to change it to a .py of course...

(feel free to critique...I am trying to improve)