wx.StaticLine

Inheritance diagram for wx.StaticLine:



Description

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.

See also

wx.StaticBox

Window Styles

Window Style Description
wx.LI_HORIZONTAL Creates a horizontal line.
wx.LI_VERTICAL Creates a vertical line.

Class API

Methods

__init__(parent, id=-1, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.LI_HORIZONTAL, name=wx.StaticLineNameStr)

Constructor, creating and showing a static line.

Parameters:


Returns:

wx.StaticLine


GetDefaultSize()

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.


Returns:

int


IsVertical()

Returns True if the line is vertical, False if horizontal.


Returns:

bool