The OpenD Programming Language

cef_keyboard_handler_t.on_key_event

Called after the renderer and JavaScript in the page has had a chance to handle the event. |event| contains information about the keyboard event. |os_event| is the operating system event message, if any. Return true (1) if the keyboard event was handled or false (0) otherwise.

struct cef_keyboard_handler_t
extern (System)
int function(cef_keyboard_handler_t* self, cef_browser_t* browser, const(cef_key_event_t)* event, XEvent* os_event) nothrow on_key_event;

Meta