A modal window prevents the user from interacting with the rest of the application until the window is dismissed.
Modal window should at least have a Help, Ok and Cancel button.
There should be a default button.
By default, modal windows are a fixed size but they may become resizeable by setting the style constructor argument to a value of:
style=ModalWindow.kDefaultStyle | wx.RESIZE_BORDER
Public Member Functions |
|
__init__ () | |
ShowModal () | |
Public Attributes |
|
kDefaultStyle = wx.DEFAULT_DIALOG_STYLE |
UiUtilities.ModalWindow.__init__ | ( | ) |
Reimplemented from UiUtilities.ApplicationDialog.
Reimplemented in UiUtilities.FixedSizeModalWindow, and UiUtilities.ResizeableModalWindow.
UiUtilities.ModalWindow.ShowModal | ( | ) |
Reimplemented from UiUtilities.ApplicationDialog.
UiUtilities.ModalWindow.kDefaultStyle = wx.DEFAULT_DIALOG_STYLE |