MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / VPush

Function VPush

PySimpleGUI/PySimpleGUI.py:9692–9700  ·  view source on GitHub ↗

Acts like a Stretch element found in the Qt port. Used in a Vertical fashion. :param background_color: color of background may be needed because of how this is implemented :type background_color: (str) :return: (Text)

(background_color=None)

Source from the content-addressed store, hash-verified

9690
9691
9692def VPush(background_color=None):
9693 """
9694 Acts like a Stretch element found in the Qt port.
9695 Used in a Vertical fashion.
9696 :param background_color: color of background may be needed because of how this is implemented
9697 :type background_color: (str)
9698 :return: (Text)
9699 """
9700 return Text(font='_ 1', background_color=background_color, pad=(0, 0), expand_y=True)
9701
9702
9703VStretch = VPush

Callers 1

_create_main_windowFunction · 0.85

Calls 1

TextClass · 0.85

Tested by

no test coverage detected