Web Analytics Made Easy - Statcounter
Skip to content

VerticalSeparator

Vertical Separator Element draws a vertical line at the given location. It will span 1 "row". Usually paired with Column Element if extra height is needed

VerticalSeparator(
    size = (None, None),
    size_px = None,
    pad = None
)

Parameter Descriptions

Name Type Default Description
pad (int, int or (int, int),(int,int) or int,(int,int)) or ((int, int),int) or int None Amount of padding to put around element in pixels (left/right, top/bottom) or ((left, right), (top, bottom)) or an int. If an int, then it's converted into a tuple (int, int)
size (int, int) or (None, None) (None, None) w=characters-wide, h=rows-high
size_px (int, int) or (None, None) None w=pixels-wide, h=pixels-high

Class Properties

This class has no public properties

Class Methods

 def update

update

Updates the element

update(
    widget,
    background_color = None,
    text_color = None,
    font = None,
    visible = None,
    disabled = None,
    tooltip = None
)

Parameter Descriptions

Name Type Default Description
background_color None Widget background color
disabled bool None Is the element disabled
font None Text font
text_color None Text color
tooltip None Tooltip to be shown
visible bool None Is the element visible
widget The widget to be updated