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 {...}{.raises: [], tags: [].}
Returns true if the line is vertical, false if horizontal.
proc init(self: wStaticLine; parent: wWindow; id = wDefaultID; pos = wDefaultPoint;
         size = wDefaultSize; style: wStyle = wLiHorizontal) {...}{.raises: [wNilAccess,
    wWindowError, wCursorError, wBrushError, Exception, IndexDefect, wFontError],
    tags: [RootEffect].}
Initializes a static line
proc StaticLine(parent: wWindow; id = wDefaultID; pos = wDefaultPoint;
               size = wDefaultSize; style: wStyle = wLiHorizontal): wStaticLine {...}{.
    inline, discardable, raises: [wNilAccess, wWindowError, wCursorError, wBrushError,
                               Exception, IndexDefect, wFontError],
    tags: [RootEffect].}
Constructor.

Methods

method getDefaultSize(self: wStaticLine): wSize {...}{.raises: [Exception],
    tags: [RootEffect].}
Returns the default size for the control.
method getBestSize(self: wStaticLine): wSize {...}{.inline, raises: [Exception],
    tags: [RootEffect].}
Returns the best acceptable minimal size for the control.
method release(self: wStaticLine) {...}{.raises: [], tags: [].}
Release all the resources during destroying. Used internally.