Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXMainWindow Class Reference

Main application window. More...

#include <FXMainWindow.h>

Inheritance diagram for FX::FXMainWindow:

FX::FXTopWindow FX::FXShell FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

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 ()

Detailed Description

Main application window.

There may be any number of MainWindows in an application. 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 1 otherwise. After the SEL_CLOSE message has been sent and no objection was raised, the MainWindow will delete itself.

Constructor & Destructor Documentation

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]


Member Function Documentation

virtual void FX::FXMainWindow::create  )  [virtual]

Create server-side resources.

Reimplemented from FX::FXTopWindow.

Copyright © 1997-2004 Jeroen van der Zijp