wStaticLine

A static line is just a line which may be used to separate the groups of controls.

Appearance:
Superclass:wControl
Styles:
StylesDescription
wLiHorizontalCreates a horizontal line.
wLiVerticalCreates a vertical line.

Consts

wLiHorizontal = 0x00000000
wLiVertical = 0x00000002

Procs

proc isVertical(self: wStaticLine): bool {...}{.validate, raises: [], tags: [].}
Returns true if the line is vertical, false if horizontal.
proc final(self: wStaticLine) {...}{.raises: [], tags: [].}
Default finalizer for wStaticLine.
proc init(self: wStaticLine; parent: wWindow; id = wDefaultID; pos = wDefaultPoint;
         size = wDefaultSize; style: wStyle = wLiHorizontal) {...}{.validate, raises: [],
    tags: [].}
Initializer.
proc StaticLine(parent: wWindow; id = wDefaultID; pos = wDefaultPoint;
               size = wDefaultSize; style: wStyle = wLiHorizontal): wStaticLine {...}{.
    inline, discardable, raises: [], tags: [].}
Constructor, creating and showing a static line.

Methods

method getDefaultSize(self: wStaticLine): wSize {...}{.property, raises: [], tags: [].}
Returns the default size for the control.
method getBestSize(self: wStaticLine): wSize {...}{.property, inline, raises: [], tags: [].}
Returns the best acceptable minimal size for the control.