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

Function theme_input_text_color

PySimpleGUI/PySimpleGUI.py:19738–19747  ·  view source on GitHub ↗

Sets/Returns the input element entry color (not the text but the thing that's displaying the text) :return: (str) - color string of the input element color currently in use :rtype: (str)

(color=None)

Source from the content-addressed store, hash-verified

19736
19737
19738def theme_input_text_color(color=None):
19739 """
19740 Sets/Returns the input element entry color (not the text but the thing that's displaying the text)
19741
19742 :return: (str) - color string of the input element color currently in use
19743 :rtype: (str)
19744 """
19745 if color is not None:
19746 set_options(input_text_color=color)
19747 return DEFAULT_INPUT_TEXT_COLOR
19748
19749
19750def theme_button_color(color=None):

Callers 5

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls 1

set_optionsFunction · 0.85

Tested by

no test coverage detected