trying to open and close a popup window without waiting for the user's response.
I have tried:
root = Tk()
root.withdraw()
try:
root.after(TIME_TO_WAIT, root.destroy)
messagebox.showinfo("Output", "somthing")
except:
pass
or:
root = Tk()
root.withdraw()
try:
root.after(TIME_TO_WAIT, root.destroy)
Message(title="your title", message="somthing", master=root).show()
except:
pass
but it throws me the following using macOS:
2023-02-28 15:12:08.197 Python[10165:332611] Warning: Expected min height of view: (<NSButton: 0x7fe48210d240>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2023-02-28 15:12:50.709 Python[10165:332611] Warning: Expected min height of view: (<NSButton: 0x7fe480190bf0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
objc[10165]: autorelease pool page 0x7fe47c277000 corrupted
magic 0x00000000 0x00000000 0x00000000 0x00000000
should be 0xa1a1a1a1 0x4f545541 0x454c4552 0x21455341
pthread 0x7ff85525f4c0
should be 0x7ff85525f4c0