Python Forum
[WxPython] how to reopen a closed tab of wx.aui.Notebook?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[WxPython] how to reopen a closed tab of wx.aui.Notebook?
#3
(Feb-17-2019, 05:04 PM)Yoriz Wrote: When you close a tab it is destroyed, you cant re-open it, in the open_tab event, code will have to be added to create a new tab.
But how could I do it?, since I only have this information
Documentation
of this more I have been struck by the following
EVT_AUINOTEBOOK_PAGE_CLOSE: --> A page is about to be closed. Processes a wxEVT_AUINOTEBOOK_PAGE_CLOSE event.
EVT_AUINOTEBOOK_PAGE_CLOSED(winid, fn): --> A page has been closed. Processes a wxEVT_AUINOTEBOOK_PAGE_CLOSED event.
I plan to use the following
RemovePage
but this only closes the tab but not its content and then I use the following to open the tab
AddPage
Reply


Messages In This Thread
RE: how to reopen a closed tab of wx.aui.Notebook? - by royer14 - Feb-18-2019, 12:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [closed] "checked" variable (attribute?) origin? paul18fr 4 545 Mar-05-2024, 04:20 PM
Last Post: deanhystad
  [Tkinter] Extrakt a Variable from a closed tkinter window hWp 5 3,815 Aug-23-2019, 09:01 PM
Last Post: woooee
  [Tkinter] Displaying an image that can't be closed nicochulo 4 3,630 Feb-15-2018, 10:27 AM
Last Post: nicochulo
  [PyQt] Whole application is closed by subwindows Alfalfa 1 7,397 Oct-03-2017, 03:22 PM
Last Post: Alfalfa

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020