MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / restore_main_window

Function restore_main_window

DemoPrograms/Demo_Titlebar_Custom_Async.py:49–59  ·  view source on GitHub ↗

Call this function when you want to restore your main window :param main_window: :return:

(main_window)

Source from the content-addressed store, hash-verified

47
48
49def restore_main_window(main_window):
50 """
51 Call this function when you want to restore your main window
52
53 :param main_window:
54 :return:
55 """
56 if hasattr(minimize_main_window, 'dummy_window'):
57 minimize_main_window.dummy_window.close()
58 minimize_main_window.dummy_window = None
59 main_window.un_hide()
60
61
62def title_bar(title, text_color, background_color):

Callers 1

mainFunction · 0.85

Calls 2

closeMethod · 0.45
un_hideMethod · 0.45

Tested by

no test coverage detected