Why can't run both tkinter mainloop and cefpython3 messageloop?
问题 I'm working at a project in Python3 in which i have both tkinter and a frame in tkinter with cef browser. This is the code. from tkinter import messagebox #import threading from cefpython3 import cefpython as cef import platform import sys from tkinter import * import time def on_closing (): print('closing') r.destroy() cef.Shutdown() r = Tk() r.geometry('800x600') r.protocol('WM_DELETE_WINDOW', on_closing) f = Frame(r, bg = 'blue', height = 200) f.pack(side = TOP, fill = 'x') g=Frame(r,bg =