GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing docs.wxpython.org — wx.StaticLine — wxPython 4.3.2 Docs
|
Default constructor. |
|
Creates the static line for two-step construction. |
|
This static function returns the size which will be given to the smaller dimension of the static line, i.e. |
|
Returns |
Class API¶Possible constructors:
StaticLine() -> None StaticLine(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=LI_HORIZONTAL, name=StaticLineNameStr) -> None
A static line is just a line which may be used in a dialog to separate the groups of controls.
__init__ (self)
Default constructor.
None
__init__ (self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=LI_HORIZONTAL, name=StaticLineNameStr)
Constructor, creating and showing a static line.
parent (wx.Window) – Parent window. Must not be nullptr.
id (wx.WindowID) – Window identifier. The value wx.ID_ANY indicates a default value.
pos (wx.Point) – Window position. If wx.DefaultPosition is specified then a default position is chosen.
size (wx.Size) – Size. Note that either the height or the width (depending on whether the line if horizontal or vertical) is ignored.
style (long) – Window style (either wx.LI_HORIZONTAL or wx.LI_VERTICAL).
name (string) – Window name.
None
See also
Creates the static line for two-step construction.
See wx.StaticLine for further details.
variant (WindowVariant)
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.
int
Returns True if the line is vertical, False if horizontal.
bool