A static line is just a line which may be used to separate the groups of controls.
Appearance: | |
Styles: | Styles | Description |
wLiHorizontal | Creates a horizontal line. |
wLiVertical | Creates a vertical line. |
|
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.
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.