MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / isDark

Function isDark

gui/utils/dark.py:4–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3
4def isDark():
5 if 'wxMSW' in wx.PlatformInfo:
6 return False
7 try:
8 return wx.SystemSettings.GetAppearance().IsDark()
9 except (KeyboardInterrupt, SystemExit):
10 raise
11 except:
12 return False

Callers 4

columnBackgroundMethod · 0.90
slotColourMethod · 0.90
refreshMethod · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected