wx.lib.agw.persist.persist_handlers.TLWHandler¶Supports saving/restoring window position and size as well as maximized/iconized/restore state for toplevel windows.
This class handles the following wxPython widgets:
wx.Frame derived classes;Dialog derived classes.In addition, if the toplevel window has an associated AuiManager (whether it is
AuiManager) and
PersistenceManager
has the PM_SAVE_RESTORE_AUI_PERSPECTIVES style set (the default), this class
will also save and restore AUI perspectives using the underlying AUIHandler
class.
Known Subclasses¶wx.lib.agw.persist.persist_handlers.ChoiceDialogHandler, wx.lib.agw.persist.persist_handlers.ColourDialogHandler, wx.lib.agw.persist.persist_handlers.FileDirDialogHandler, wx.lib.agw.persist.persist_handlers.FindReplaceHandler, wx.lib.agw.persist.persist_handlers.FontDialogHandler, wx.lib.agw.persist.persist_handlers.TextEntryHandler
Class API¶TLWHandler(AUIHandler)¶Supports saving/restoring window position and size as well as maximized/iconized/restore state for toplevel windows.
This class handles the following wxPython widgets:
wx.Frame derived classes;Dialog derived classes.In addition, if the toplevel window has an associated AuiManager (whether it is
AuiManager) and
PersistenceManager
has the PM_SAVE_RESTORE_AUI_PERSPECTIVES style set (the default), this class
will also save and restore AUI perspectives using the underlying AUIHandler
class.
__init__(self, pObject)¶GetKind(self)¶Restore(self)¶Save(self)¶