If validation passes, your code should proceed with the callback event logic.
如果验证通过,则代码将继续使用回调事件逻辑。
When the client receives the response from the application server, the function defined in the callback event is invoked.
当客户机收到应用服务器的响应时,调用callback事件中定义的函数。
You set up the event handler to accept the callback from the service.
可以设置事件处理程序来接收来自服务的回调。
Pointer to the callback function to be invoked (for one or more event Types) — for each specific event, register a callback function, and then these functions are called when the event occurs.
指向要调用的回调函数的指针(对于一种或多种事件类型)——为每种特定的事件注册一个回调函数,然后将在事件发生时调用这些函数。
The callback functions that are called when an event occurs can be written in the same spot where you capture the event.
事件发生时调用的回调函数可以在捕获事件处进行编写。
A button has an argument named onclick whose value is a Callback, a snippet of imperative application logic to be executed when the event occurs. In this particular case two things happen.
按钮拥有名为onclick的参数,它的值是Callback,当事件发生的时候,就会执行一段命令式的应用程序逻辑。
Main : the main function creates the socket to be used for listening to connections, and then creates the callback for accept to handle each connection through the event handler.
main:主函数创建用来监听连接的套接字,然后创建accept的回调函数以便通过事件处理函数处理每个连接。
It then associates the TreeItem widget and event type with the callback instance so that it knows how to proceed after the data for the RESTful Web service is returned.
然后,把TreeIte m部件和事件类型与这个回调实例关联起来,让它知道在RESTfulWeb服务返回数据之后如何处理数据。
If a user clicks on a specific task, say to delete it, then typically, the view raises an event, or makes a callback to our Controller.
如果用户点击某个任务,要删除之,那么视图通常会触发一个事件,或对Controller(控制器)进行一个回调。
Many STL containers let you play the same trick. Most programmers wouldn't call the qsort callback an event, but there's no reason you can't think of it that way.
借助许多STL容器也能实现同样的诀窍.大多数程序员不会调用qsort回调某个事件,但你没有理由不考虑那种方式。
The first argument to a callback assigned using bind is always a reference to the widget that generated the event.
使用bind指派的回调的第一个变量总是一个对产生事件的部件的引用。
At some unspecified later time, when the subject's state changes, the subject notifies the observer of the change event with the update method callback.
在随后某个未知的时候,目标对象的状态发生了更改,目标对象会使用update回调方法,通知观察者,告知已经发生了状态更改事件。
As a final twist, the ev facility allows us to retrieve and use details about the event that invoked the callback.
作为最后的难点,Ev工具允许检索和使用调用回调的事件细节。
This state object is passed to your timer callback function during each timer event invocation.
在每一个定时器事件被调用时该state对象作为一个参数传递给你的定时回调函数。
Listing 6 shows the event handlers and the callback function of the sample widget.
清单6显示的是小部件样例的事件处理函数和回调函数。
For example, the server event is a callback method that is invoked when a new client connects to the server.
例如,服务器事件是一个回调函数,它是在新的客户端连接服务器时调用的。
In mainstream languages, event-based interfaces are usually implemented using callback functions, a style familiar from GUI programming and the like.
在主流语言中,基于事件的接口通常使用回调函数实现,这是一种在GUI之类的编程中常见的方式。
In mainstream languages, event-based interfaces are usually implemented using callback functions, a style familiar in graphical user interface (GUI) programming and the like.
在主流语言中,基于事件的接口通常使用回调函数实现,这是一种在图形用户界面(GUI)之类的编程中常见的方式。
The client event is a callback method that is invoked when the server has sent bytes to the client.
而客户端事件则是一个当服务器向客户端发送数据时调用的回调函数。
The event API model USES a callback mechanism to notify the application of the structure of the XML data.
事件API模型使用回调机制向应用程序通报XML数据的结构。
The callback is called the event handler.
回调被称为事件处理器。
To make a Canvas respond to user interaction, we need to explicitly bind a callback to an event, using the Tk: : bind function.
为了使画布能够响应用户的交互,我们需要使用Tk:bind函数显式地将回调绑定到事件。
Note that every event callback function receives the editor instance as a parameter.
注意每个事件回调函数都会接收一个编辑器实例作为参数。
The bind function takes two arguments: first, the event sequence to respond to, and second, the callback and its parameters.
函数bind带有两个变量:第一,要响应的事件序列;第二,回调和它的参数。
Also, the function returns a Boolean value because the callback prototype for the delete-event signal defined for GtkWidget states a Boolean return.
而且,该函数返回布尔值,因为为gtk Widget定义的delete - event信号的回调原型指明的是布尔返回值。
This overload receives notification, through a callback, of the identity of the event handler for the operation.
此重载通过回调接收操作的事件处理程序标识的通知。
Drivers register callback objects by passing a pointer to one of the object's interfaces to the framework object that raises the related event.
驱动程序通过传递一个接口指针给分发相关事件的框架对象,来注册回调对象。
Create a callback method for each event handler that you wrote in the Ribbon Designer code.
为在功能区设计器代码中编写的每一个事件处理程序创建一个对应的回调方法。
The integration test for static parameter was completed by control software as well as event-driven, callback functions and interactive program.
测控软件以事件驱动、回调函数与交互式程序,完成静态参数综合测试。
Respond to the right mouse button down event by setting up a hit test results callback.
以便在命中测试结果枚举期间存储值。
应用推荐