20202021 wxWidgets team. Licensed under the wxWindows Free Documentation Licence, Version 3 wxStaticLine
wxStaticLine Functions for wxStaticLine class

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

The line may be only vertical or horizontal. Moreover, not all ports (notably not wxGTK) support specifying the transversal direction of the line (e.g. height for a horizontal line) so for maximal portability you should specify it as wxDefaultCoord.

Styles

This class supports the following styles:

See: wxStaticBox

This class is derived (and can use functions) from: wxControl wxWindow wxEvtHandler

wxWidgets docs: wxStaticLine

Default constructor.

Default constructor.

See: new/2 Constructor, creating and showing a static line.

Constructor, creating and showing a static line.

See: create/3

See: create/3 Creates the static line for two-step construction.

Creates the static line for two-step construction.

See new/2 for further details.

Returns true if the line is vertical, false if horizontal.

Returns true if the line is vertical, false if horizontal.

This static function returns the size which will be given to the smaller dimension of the static line, i.e.

This static function returns the size which will be given to the smaller dimension of the static line, i.e.

its height for a horizontal line or its width for a vertical one.

Destructor

Destroys the object.