简体   繁体   中英

Is there a way to save and open up a state of floatcanvas?

I am looking to be able to open up a saved state of floatcanvas. I was wondering if this was possible using floatcanvas for python. What type of file would I save the canvas as? Any thoughts on this would be greatly appreciated.

Looking at the documentation, there does not seem to be a built in method for saving the widget's state. You might be able to use the persist portion of wxPython ( http://wxpython.org/Phoenix/docs/html/lib.agw.persist.html ) and define a custom persistent window that wraps the FloatCanvas widget. Otherwise, you should ask on the wxPython Google group for assistance.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM