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

Function theme_element_background_color

PySimpleGUI/PySimpleGUI.py:19690–19699  ·  view source on GitHub ↗

Sets/Returns the background color currently in use for all elements except containers :return: (str) - color string of the element background color currently in use :rtype: (str)

(color=None)

Source from the content-addressed store, hash-verified

19688
19689
19690def theme_element_background_color(color=None):
19691 """
19692 Sets/Returns the background color currently in use for all elements except containers
19693
19694 :return: (str) - color string of the element background color currently in use
19695 :rtype: (str)
19696 """
19697 if color is not None:
19698 set_options(element_background_color=color)
19699 return DEFAULT_ELEMENT_BACKGROUND_COLOR
19700
19701
19702def theme_text_color(color=None):

Callers

nothing calls this directly

Calls 1

set_optionsFunction · 0.85

Tested by

no test coverage detected