Derive from this class to get support for retaining window position and size across application sessions.
To use this class you need to:
1. Derive from this class.
2. Specify the name of the window using the constructor's name argument.
3. If your derived class overrides Show() then be sure to call this class's corresponding method.
For example:
class MyWindow( ApplicationWindow ):
def __init__( self, parent, ... ): ApplicationWindow.__init__(self, parent, title="My Title", name="MyWindow")
... Create your window content ...
Public Member Functions |
|
__init__ () | |
SetSizerAndFit () | |
Show () |
UiUtilities.ApplicationWindow.__init__ | ( | ) |
Reimplemented from UiUtilities.WindowDialogMixin.
Reimplemented in Browser.BrowserFrame, UIWindow.HTMLFrame, UiUtilities.DynamicFixedSizeInspectorWindow, UiUtilities.DynamicResizeableInspectorWindow, UiUtilities.ExampleWindow, UiUtilities.ExampleWindow_, UiUtilities.FixedSizeInspectorWindow, UiUtilities.InspectorWindow, and UiUtilities.ResizeableInspectorWindow.
UiUtilities.ApplicationWindow.SetSizerAndFit | ( | ) |
UiUtilities.ApplicationWindow.Show | ( | ) |
Reimplemented in UiUtilities.InspectorWindow.