how to get rid of the frame around a window?

Alec Bennett wrybread at gmail.com
Fri Jan 19 21:27:19 PST 2007


I'm trying to remove the frame from a window, something like what
self.ShowFullScreen(True) would do, only without removing the other
components.

I'm not sure of the terminology, but I have a wxFrame. Here's what I
get when I execute "print self":

<__main__.MyBackground; proxy of C++ wxFrame instance at _e8eda200_p_wxFrame>

I'd like to be able to manipulate this window. For example, remove the
white frame around it, remove the close box, etc. I found this page
with the parameter wxRESIZE_BORDER and wxCLOSE_BOX that appear to do
what I need but I can't figure out how to use them:

http://www.wxwidgets.org/manuals/2.6.3/wx_wxframe.html#wxframe

Thanks for any help.




More information about the wxpython-users mailing list