Here I set the widgets to be visible, and start the GTK + main event loop.
这里,我将窗口小部件设置为可视的,然后启动GTK +主事件循环。
Essentially, the strategy is to create a bunch of widgets with callbacks, then enter a main event loop.
本质上,这个策略是创建带回调的一串窗口小部件,然后进入一个主事件循环。
Multithreading your application improves the responsiveness of your user interface by moving long calculations into separate threads and away from your main event loop.
将长时间的计算从主事件循环线程移到别的线程中,从而提高用户接口的响应速度。
应用推荐