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
Parameter Descriptions
Name | Type | Default | Description |
---|---|---|---|
pad | (int, int or (int, int),(int,int) or int,(int,int)) or ((int, int),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) |
Class Properties
This class has no public properties
Class Methods
def expand
def get_stylesheet
def set_stylesheet
def update
expand
WARNING - NOT USED IN PySimpleGUIQt port. Provided as dummy method
Parameter Descriptions
Name | Type | Default | Description |
---|---|---|---|
expand_row | bool | True | If True the row containing the element will also expand. Without this your element is "trapped" within the row |
expand_x | bool | False | If True Element will expand in the Horizontal directions |
expand_y | bool | False | If True Element will expand in the Vertical directions |
RETURN | None | None |
get_stylesheet
Returns the stylesheet for element's associated Qt Widget
Parameter Descriptions
Name | Type | Default | Description |
---|---|---|---|
RETURN | str | stylesheet |
set_stylesheet
Sets the stylesheet for a Qt Widget
Parameter Descriptions
Name | Type | Default | Description |
---|---|---|---|
stylesheet | str | Stylesheet (string) to set stylesheet to |
update
Updates the element
Parameter Descriptions
Name | Type | Default | Description |
---|---|---|---|
background_color | str | None | color of background. Can be in #RRGGBB format or a color name "black" |
font | (str or (str, int[, str]) or None) | None | specifies the font family, size. Tuple or Single string format 'name size styles'. Styles: italic * roman bold normal underline overstrike |
text_color | str | None | element's text color. Can be in #RRGGBB format or a color name "black" |
visible | bool | None | set visibility state of the element (Default = True) |
widget | The widget to be updated |