wxAuiNotebook - preventing certain tabs from closing

Posted by Roy Tang on Stack Overflow See other posts from Stack Overflow or by Roy Tang
Published on 2009-04-19T13:00:07Z Indexed on 2010/06/08 4:12 UTC
Read the original article Hit count: 240

Filed under:

I'm experimenting with wx.aui.AuiNotebook; is there a way I can prevent particular tabs from being closed? i.e. I have an app that allows the user to create multiple tabs in an AuiNotebook, but the first 2 tabs are system managed and I don't want them to be closed.

Also, in a close event, can I get the window object attached to the tab being closed? (to extract data from it)

© Stack Overflow or respective owner

Related posts about wxpython