The last line calls MainLoop, which starts listening for user events and dispatches them to the appropriate callbacks, which have been registered with each widget that can generate events.
程序的最后一行调用mainloop语句,这个语句的作用是开始监听用户事件,并且把它们分派给合适的回调。所有的事件都已被对应的能够产生事件的部件注册。
The last line calls MainLoop, which starts listening for user events and dispatches them to the appropriate callbacks, which have been registered with each widget that can generate events.
程序的最后一行调用mainloop语句,这个语句的作用是开始监听用户事件,并且把它们分派给合适的回调。所有的事件都已被对应的能够产生事件的部件注册。
应用推荐