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

Function theme_use_custom_titlebar

PySimpleGUI/PySimpleGUI.py:19894–19906  ·  view source on GitHub ↗

Returns True if a custom titlebar will be / should be used. The setting is in the Global Settings window and can be overwridden using set_options call :return: True if a custom titlebar / custom menubar should be used :rtype: (bool)

()

Source from the content-addressed store, hash-verified

19892
19893
19894def theme_use_custom_titlebar():
19895 """
19896 Returns True if a custom titlebar will be / should be used.
19897 The setting is in the Global Settings window and can be overwridden
19898 using set_options call
19899
19900 :return: True if a custom titlebar / custom menubar should be used
19901 :rtype: (bool)
19902 """
19903 if USE_CUSTOM_TITLEBAR is False:
19904 return False
19905
19906 return USE_CUSTOM_TITLEBAR or pysimplegui_user_settings.get('-custom titlebar-', False)
19907
19908
19909def theme_global(new_theme=None):

Callers 2

__init__Method · 0.85
_create_main_windowFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected