Fabrice C. wrote:
Hi,
I am trying to animate the appearing/disappearing of Andrea's PyCollapsiblePane (actually, it might even work with the standard wx.CollipsiblePane).
For this, I need to be able to create a rendered bitmap of a given widget (wx.Panel with all its contents) while it is still hidden.
Is there a way to set a widget so that it renders itself in a wx.MemoryDC instead of the screen ?
No. It can be made to mostly work on MSW, but IIRC there are problems with some widget types or with/without themes. It could probably be made to work reliably on wxMac, but when I was trying to implement this a few years ago it seemed totally impossible on wxGTK.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!