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

Function process_popup

DemoPrograms/Demo_Multithreaded_popup.py:46–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45
46def process_popup():
47 try:
48 queued_value = mainthread_queue.get_nowait()
49 sg.popup_auto_close(*queued_value[0], **queued_value[1])
50 except queue.Empty: # get_nowait() will get exception when Queue is empty
51 pass
52
53
54def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected