Class | Fox::FXMainWindow |
In: |
rdoc-sources/FXMainWindow.rb
|
Parent: | FXTopWindow |
The Main Window is usually the central window of an application. Applications may have any number of main windows. When a MainWindow is closed, it sends a SEL_CLOSE message to its target; the target should return 0 if there is no objection against proceeding with the close, and return 1 otherwise. After the SEL_CLOSE message has been sent and no objection was raised, the main window will delete itself.
The following messages are sent by FXMainWindow to its target:
SEL_CLOSE: | sent when the user clicks the close button in the upper right-hand corner of the main window. |