wStaticBox

A static box is a rectangle drawn around other windows to denote a logical grouping of items.

Appearance:
Superclass:wControl

Procs

proc final(self: wStaticBox) {...}{.raises: [], tags: [].}
Default finalizer for wStaticBox.
proc init(self: wStaticBox; parent: wWindow; id = wDefaultID; label: string = "";
         pos = wDefaultPoint; size = wDefaultSize; style: wStyle = 0) {...}{.validate,
    raises: [], tags: [].}
Initializer.
proc StaticBox(parent: wWindow; id = wDefaultID; label: string = ""; pos = wDefaultPoint;
              size = wDefaultSize; style: wStyle = 0): wStaticBox {...}{.inline, discardable,
    raises: [], tags: [].}
Constructor, creating and showing a static box.

Methods

method getBestSize(self: wStaticBox): wSize {...}{.property, raises: [], tags: [].}
Returns the best acceptable minimal size for the control.
method getDefaultSize(self: wStaticBox): wSize {...}{.property, raises: [], tags: [].}
Returns the default size for the control.
method getClientAreaOrigin(self: wStaticBox): wPoint {...}{.property, raises: [], tags: [].}
Get the origin of the client area of the window relative to the window top left corner.
method getClientSize(self: wStaticBox): wSize {...}{.property, raises: [], tags: [].}
Returns the size of the window 'client area' in pixels.