![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXMainWindow.h>
Public Member Functions | |
FXMainWindow (FXApp *a, const FXString &name, FXIcon *ic=NULL, FXIcon *mi=NULL, FXuint opts=DECOR_ALL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=0, FXint pr=0, FXint pt=0, FXint pb=0, FXint hs=0, FXint vs=0) | |
virtual void | create () |
virtual | ~FXMainWindow () |
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.
FX::FXMainWindow::FXMainWindow | ( | FXApp * | a, |
const FXString & | name, | ||
FXIcon * | ic = NULL , |
||
FXIcon * | mi = NULL , |
||
FXuint | opts = DECOR_ALL , |
||
FXint | x = 0 , |
||
FXint | y = 0 , |
||
FXint | w = 0 , |
||
FXint | h = 0 , |
||
FXint | pl = 0 , |
||
FXint | pr = 0 , |
||
FXint | pt = 0 , |
||
FXint | pb = 0 , |
||
FXint | hs = 0 , |
||
FXint | vs = 0 |
||
) |
Construct a main window.
virtual FX::FXMainWindow::~FXMainWindow | ( | ) | [virtual] |
Destructor.
virtual void FX::FXMainWindow::create | ( | ) | [virtual] |
Create server-side resources.
Reimplemented from FX::FXTopWindow.
![]() |