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

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

    youdao

  • This script extends the simple event loop with switches to use Parse: : RecDescent as the parsing engine.

    脚本扩展开关简单事件循环Parse:RecDescent用作解析引擎。

    youdao

  • The application's "event loop" will send keyboard actions, mouse events and menu selections to this focus object.

    应用程序事件循环这个聚焦的对象发送键盘键盘动作鼠标事件菜单选择等行为

    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

  • A common mistake that newbies make is to sample the input for the demo mode at a point in the event loop before or after the normal input is read.

    一个新手常犯的错误这样的,游戏演示所进行采样超前落后游戏的正确输入时刻

    youdao

  • We will now showcase specific abilities of the Parse: : RecDescent grammar by adding on to the UI features from a simple event loop and a simple user interface.

    现在通过简单事件循环简单用户界面的UI功能基础再增加一些功能,我们具体展示ParseRecDescent文法所具有特定能力

    youdao

  • The last thing we need to do is activate our POA to start queuing client requests and force the server to enter its event loop to receive those incoming requests.

    最后做的一事,就是激活poa使客户机请求开始排队强制服务器输入事件循环接收这些传入的请求。

    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

  • 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

  • If you're watching a single file that gets changed every 20-30 seconds or so, just poll for changes in your event loop, with a timer to make sure you don't poll too often.

    如果看到文件得到改变20 -30左右,只是调查事件循环变化一个定时器确保经常的调查。

    youdao

  • It provides data structure handling for c, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.

    事件循环多线程动态载入以及对象系统的方式C语言提供了数据结构处理轻便封装,以及运行时功能接口

    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

  • 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

  • Then it states that it would like to be notified when signals with the com.burtonini.dbus.Signal interface are sent, sets signal_filter as the notification function, and enters the event loop.

    然后声明愿意具有com. burtonini . dbus . signal接口信号发送时得到通知,将signal_filter设置通知函数然后进入事件循环。

    youdao

  • It's possible that the player might have the fire button down in one part of the event loop and not in another, so you must sample at the same point you read the input for the game normally.

    可能造成的结果游戏玩家游戏事件循环一部分下了发射一部分却松开了它。所以必须同一进行采样读入输入。

    youdao

  • It is expected that GNOME will create wrappers around D-BUS using GObject (indeed these partially exist, integrating D-BUS into their event loop), and that KDE will create similar wrappers using Qt.

    预期GNOME使用GObject创建包装d -BUS的包装器(实际上这些已经部分存在了,将D - BUS集成它们事件循环),KDE将使用Qt创建类似的包装器。

    youdao

  • After the loop define a receive activity that waits until it is invoked by the last event handler.

    循环之后定义接收活动,该活动将等待最后一个事件处理程序实例调用。

    youdao

  • By doing so, the loop in the main scope and logic in the event handler controls the final number of event handler instances.

    这样范围内循环事件处理程序中的逻辑就可以控制事件处理程序最终数目

    youdao

  • When an event occurs, the object associated with that event emits a signal to inform the main loop that it has occurred.

    事件发生时,这个事件对应对象发出信号通知循环事件已经发生

    youdao

  • That name is wrapped in a foreach loop at the bottom of the script that adds a page for each event, then invokes the EventTable method.

    名称位于脚本底部包装foreach循环中,该脚本每个事件添加一个页面然后调用EventTable方法。

    youdao

  • A selector is analogous to a Windows message loop, in which the selector captures the various events from different clients and dispatches them to their respective event handlers.

    选择器(selector)Windows消息循环类似,不同客户机捕获各种事件它们分派相应事件处理程序

    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

  • This can be accomplished by modifying the loop of the example above so that the invoke activity invokes the external service immediately instead of invoking an event handler.

    可以通过修改上述示例循环来完成以便调用活动直接调用外部服务而不是调用事件处理程序

    youdao

  • If you've ever done any event-driven programming in the past, I think you'll find signals to be a refreshing change from the common practice of setting up an explicit event processing loop.

    如果过去曾经编写事件驱动程序,那么认为发现,对于设置式事件处理循环常见做法,使用信号一个令人耳目一新的变化

    youdao

  • It makes a difference if you loop through 500 or 5000 DOM elements on the page when you want to add an event handler for example.

    如果依次通过的5005000DOM元素添加事件处理程序例如使不同

    youdao

  • After we have registered for the event types we are interested in, we need to enter a loop of receiving events and handling them.

    我们兴趣事件别注册了之后,我们需要进入接收事件处理它们循环

    youdao

  • In the infinite loop case above, all threads except main are in a waiting state (on a semaphore, or waiting for some event).

    上述循环情况下所有主线程之外的线程处于某种等待状态(等待一个信号量,等待某个事件)。

    youdao

  • Our active communication with the Pleroma, with the Galactic Center, is creating a feedback loop that will trigger the Event when the time is right.

    我们佩洛玛银心之间主动交流会形成一个回馈循环并且时机成熟的时候引发事件

    youdao

  • Issue 1036: Adding NuGet Pack SomeProject.csproj to post-build event no longer causes an infinite loop.

    问题1036:在后期生成事件添加NuGetPack SomeProject . csproj”不再导致无限循环了。

    youdao

  • That feedback loop can be especially empowering in a place like South Sudan, said Bank Vice President for the Africa Region Obiageli Ezekwesili, who spoke at last week’s event.

    诸如苏丹这样地方反馈过程尤其公民赋权,世行非洲地区行长Obiageli上周会议上发言时指出。

    youdao

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

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

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