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

Function theme_text_color

PySimpleGUI/PySimpleGUI.py:19702–19711  ·  view source on GitHub ↗

Sets/Returns the text color currently in use :return: (str) - color string of the text color currently in use :rtype: (str)

(color=None)

Source from the content-addressed store, hash-verified

19700
19701
19702def theme_text_color(color=None):
19703 """
19704 Sets/Returns the text color currently in use
19705
19706 :return: (str) - color string of the text color currently in use
19707 :rtype: (str)
19708 """
19709 if color is not None:
19710 set_options(text_color=color)
19711 return DEFAULT_TEXT_COLOR
19712
19713
19714def theme_text_element_background_color(color=None):

Callers 8

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
popup_get_dateFunction · 0.85
_create_main_windowFunction · 0.85

Calls 1

set_optionsFunction · 0.85

Tested by

no test coverage detected