The OpenD Programming Language

cef_menu_model_t.set_accelerator

Set the keyboard accelerator for the specified |command_id|. |key_code| can be any virtual key or character value. Returns true (1) on success.

struct cef_menu_model_t
extern (System)
int function(cef_menu_model_t* self, int command_id, int key_code, int shift_pressed, int ctrl_pressed, int alt_pressed) nothrow set_accelerator;

Meta