A receiving event defines its handling function.
接收事件定义它的处理功能。
The platform calls the message handling function of this message processing object whenever any event occurs that your program might possibly want to be notified about.
当发生任何需要通知给您的程序的事件时,平台将调用这个消息处理对象的消息处理功能。
If you always add a function like this to install your handlers, you never have to worry about your handlers clobbering other parts of the event-handling system.
如果在安装处理程序时总是添加这个函数,那么就永远不必担心您的处理程序会破坏事件处理系统中的其他部分。
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事件循环之中。
Handling common events is as simple as calling a function like click , submit , or mouseover and passing it an event handler function.
处理常见事件就像调用函数(比方说click 、submit或mouseover)和为其传递事件处理函数一样简单。
The value returned from this function indicates whether the event should be propagated further by the GTK event handling mechanism.
这个函数的返回值指示这个事件是否应该由GTK事件处理机制做进一步的传播。
Global or inline scripts, which are scripts that are not part of an event-handling subroutine or function, are executed immediately.
立即执行全局或内联脚本,这些脚本不是事件处理子例程或函数的一部分。
Global or inline scripts, which are scripts that are not part of an event-handling subroutine or function, are executed immediately.
立即执行全局或内联脚本,这些脚本不是事件处理子例程或函数的一部分。
应用推荐