The OpenD Programming Language

cef_keyboard_handler_t

Implement this structure to handle events related to keyboard input. The functions of this structure will be called on the UI thread.

version(cef && embedded_cef_bindings)
extern (C)
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, int* is_keyboard_shortcut) nothrow on_pre_key_event;
}

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

on_key_event
int function(cef_keyboard_handler_t* self, cef_browser_t* browser, const(cef_key_event_t)* event, XEvent* os_event) nothrow 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.

Meta