渲染和处理GUI事件时调用。
我必须做什么地方(历史)事件时调用吗?
第二个参数是在触发菜单事件时调用的方法的全限定名。
The second parameter to the macro is the fully qualified name of the method that should be called when the menu event is triggered.
定义小部件应该处理的事件,以及收到事件时调用的方法。
Defines the events that this widget should handle, and the method that is called when the event is received.
hook - stop是GDB在每次发生断点事件时调用的特殊定义。
Hook-stop is a special definition that GDB calls at every breakpoint event.
继续往下看该代码的时候,您还会发现您将Post按钮设置为在触发click事件时调用该函数。
You'll also notice further down the code that you set the Post button to class this function when the click event is fired.
例如,服务器事件是一个回调函数,它是在新的客户端连接服务器时调用的。
For example, the server event is a callback method that is invoked when a new client connects to the server.
指向要调用的回调函数的指针(对于一种或多种事件类型)——为每种特定的事件注册一个回调函数,然后将在事件发生时调用这些函数。
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 client event is a callback method that is invoked when the server has sent bytes to the client.
如果是实例元素属性的一个突变事件,我需要同时调用两个方法相应的修改按钮的外观。
If it's a mutation event on one of the attributes of the instance element, I'll call both of the methods responsible for fixing the button's appearance.
在刚启动时调用这个事件处理函数,将初始屏幕内容设置为可见。
This event handler is called at the very beginning so that the initial screen contents can be set to be viewed.
事件发生时调用的回调函数可以在捕获事件处进行编写。
The callback functions that are called when an event occurs can be written in the same spot where you capture the event.
代码没有在按钮内使用传统的onClick,而是使用Dojo事件系统注册一个在装载页面时调用的方法。
The code does not use the traditional onClick within the button but USES the Dojo events system to register a method to call upon loading of the page.
该样例是一个称为getFeedFromURL 的处理事件,该事件可以接受一个字符串作为负载并在被触发时调用函数handleGetFeedFromURL。
This sample is a handle event called getFeedFromURL, which can receive a string as payload and invoke the function handleGetFeedFromURL when it is triggered.
另外,EventMap可以用于使事件在结束时调用其他事件,设置本地对象上的值,以及在本地启动方法。
In addition, you can use the EventMap to have events call other events when they're complete, set values on local objects, and initiate methods locally.
select()-文本在文本字段内被选中时调用,而不是内容在组合框内被选中时(这时发生的是更改事件)调用。
select() - Called when text is selected in a text field, and not when things are selected in a combo box (that's a change event)
因此,在调用事件处理程序方法时调用堆栈可能只有高度受信任的调用方。
Therefore, the call stack might have only highly trusted callers when the event handler method is invoked.
因此,在调用事件处理程序方法时调用堆栈可能只有高度受信任的调用方。
Therefore, the call stack might have only highly trusted callers when the event handler method is invoked.
应用推荐