Event.handlerSet

Sets the function to call to handle all events from GDK.

Note that GTK+ uses this to install its own event handler, so it is usually not useful for GTK+ applications. (Although an application can call this function then call gtk.global.mainDoEvent to pass events to GTK+.)

class Event
static
void
handlerSet

Parameters

func gdk.types.EventFunc

the function to call to handle events from GDK.