OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Constructing and Destroying TGadgetWindow

Here is the constructor for TGadgetWindow:

TGadgetWindow(TWindow* parent = 0,
TTileDirection direction = Horizontal,
TFont* font = new TGadgetWindowFont,
TModule* module = 0);

The following table describes TGadgetWindow's parameters:

ParameterDescription
parentA pointer to the parent window object.
directionAn enum TTileDirection. There are two possible values for direction: Horizontal or Vertical.
font

A pointer to a TFont object that contains the font for the gadget window.

By default, font is set to TGadgetWindowFont, which is a variable-width sans-serif font, usually Helvetica.

modulePassed as the TModule parameter for the TWindow base constructor. This parameter defaults to 0.

The destructor TGadgetWindow::~TGadgetWindow deletes each of the gadgets contained in the gadget window and then deletes the font object.