Is it possible to have a close icon on the tab name of a wx.Notebook page?
I am looking for the same functionality found in wx.lib.agw.aui.auibook.AuiNotebook() where each tab can have a close icon.
No, the wx.Notebook
doesn’t have that feature. But there are some other notebook-like classes available that may be a better choice for you if the AuiNotebook
is not what you want.
Thanks for the answer.
The reason for the question is that in macOS the wx.Notebook
looks better than the wx.lib.agw.aui.auibook.AuiNotebook()
, in my opinion. But without the closing icon in the tab name the functionality of the wx.Notebook
is drastically limited and in my opinion, cannot substitute the wx.lib.agw.aui.auibook.AuiNotebook()
. So I will stick with wx.lib.agw.aui.auibook.AuiNotebook()
.