• Essentially, the strategy is to create a bunch of widgets with callbacks, then enter a main event loop.

    本质上,这个策略是创建带回调的一串窗口小部件,然后进入一个主事件循环。

    youdao

  • The main function creates a Glib event loop, gets a connection to the session bus, and integrates the D-BUS event handling into the Glib event loop.

    main函数创建一个Glib事件循环,获得会话总线的一个连接,并将D -BUS事件处理集成到Glib事件循环之中。

    youdao

  • One of the threads then calls the SPU_RUN ioctl on the run file, while the other runs in an event loop on the mailbox files and potentially other file descriptors.

    其中一个线程然后会对运行文件调用SPU_RUNioctl系统调用,而其他线程则可以对邮箱文件和其他可能的文件描述符执行一个事件循环。

    youdao

  • You create the necessary network listening sockets, register the events to be called during execution, and then start the main event loop with the libev handling the rest of the process.

    创建所需的网络监听套接字,注册在执行期间要调用的事件,然后启动主事件循环,让libev处理过程的其余部分。

    youdao

  • Multithreading your application improves the responsiveness of your user interface by moving long calculations into separate threads and away from your main event loop.

    将长时间的计算从主事件循环线程移到别的线程中,从而提高用户接口的响应速度。

    youdao

  • Note that the extension is easy to understand and modify, and that it can do the job just as well as the previous, non-parsing example (see the Event loop with command-line switches).

    请注意,很容易理解和修改这个扩展,而且该扩展可以与前面的非解析示例一样出色地完成工作(请参阅带命令行开关的事件循环)。

    youdao

  • The skeleton of an application consists of just four steps: (1) create an application; (2) create one or more Windows; (3) add some widgets to the Windows; (4) call the app.run event-loop.

    应用程序的主框架只由四个步骤组成:(1)创建一个应用程序;(2)创建一个或多个窗口;(3)在窗口中添加一些窗口小部件;(4)调用app. run事件循环。

    youdao

  • The skeleton of an application consists of just four steps: (1) create an application; (2) create one or more Windows; (3) add some widgets to the Windows; (4) call the app.run event-loop.

    应用程序的主框架只由四个步骤组成:(1)创建一个应用程序;(2)创建一个或多个窗口;(3)在窗口中添加一些窗口小部件;(4)调用app. run事件循环。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定