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

Function theme_progress_bar_color

PySimpleGUI/PySimpleGUI.py:19795–19804  ·  view source on GitHub ↗

Sets/Returns the progress bar colors by the current color theme :return: (str, str) - TUPLE with color strings of the ProgressBar color currently in use(button text color, button background color) :rtype: (str, str)

(color=None)

Source from the content-addressed store, hash-verified

19793
19794
19795def theme_progress_bar_color(color=None):
19796 """
19797 Sets/Returns the progress bar colors by the current color theme
19798
19799 :return: (str, str) - TUPLE with color strings of the ProgressBar color currently in use(button text color, button background color)
19800 :rtype: (str, str)
19801 """
19802 if color is not None:
19803 set_options(progress_meter_color=color)
19804 return DEFAULT_PROGRESS_BAR_COLOR
19805
19806
19807def theme_slider_color(color=None):

Callers

nothing calls this directly

Calls 1

set_optionsFunction · 0.85

Tested by

no test coverage detected