MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / _DecrementOpenCount

Method _DecrementOpenCount

PySimpleGUI/PySimpleGUI.py:10178–10183  ·  view source on GitHub ↗

Not user callable! Decrements the number of open windows

(self)

Source from the content-addressed store, hash-verified

10176
10177 @classmethod
10178 def _DecrementOpenCount(self):
10179 """
10180 Not user callable! Decrements the number of open windows
10181 """
10182 self.NumOpenWindows -= 1 * (self.NumOpenWindows != 0) # decrement if not 0
10183 # print('----- DECREMENTING Num Open Windows = {} ---'.format(Window.NumOpenWindows))
10184
10185 @classmethod
10186 def get_screen_size(self):

Callers 7

ButtonCallBackMethod · 0.80
update_barMethod · 0.80
_readMethod · 0.80
_ReadNonBlockingMethod · 0.80
finalizeMethod · 0.80
closeMethod · 0.80
StartupTKFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected