Grabbing an AUINotebook Tab Caption

So if you have a listctrl inside of a AUINotebook page, and inside the right-click handler for the listctrl, you want to grab the page’s caption. How is this done?

JS

Justin Seitz wrote:

So if you have a listctrl inside of a AUINotebook page, and inside the right-click handler for the listctrl, you want to grab the page's caption. How is this done?

  notebook.GetPageText(page_num)

If you don't know the page_num then you can use GetPageIndex(self) or whatever matches your widget hierarchy.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!