Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Struct _cef_key_event_t

   in cef_types.h

struct _cef_key_event_t

Structure representing keyboard event information.


Field Summary
 char16 character
          The character generated by the keystroke.
 int focus_on_editable_field
          True if the focus is currently on an editable field on the page.
 int is_system_key
          Indicates whether the event is considered a "system key" event (see http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for details).
 uint32 modifiers
          Bit flags describing any pressed modifier keys.
 int native_key_code
          The actual key code genenerated by the platform.
 cef_key_event_type_t type
          The type of keyboard event.
 char16 unmodified_character
          Same as |character| but unmodified by any concurrently-held modifiers (except shift).
 int windows_key_code
          The Windows key code for the key event.
 

Field Detail

character

public char16 character;
The character generated by the keystroke.

focus_on_editable_field

public int focus_on_editable_field;
True if the focus is currently on an editable field on the page. This is useful for determining if standard key events should be intercepted.

is_system_key

public int is_system_key;
Indicates whether the event is considered a "system key" event (see http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for details). This value will always be false on non-Windows platforms.

modifiers

public uint32 modifiers;
Bit flags describing any pressed modifier keys. See cef_event_flags_t for values.

native_key_code

public int native_key_code;
The actual key code genenerated by the platform.

type

public cef_key_event_type_t type;
The type of keyboard event.

unmodified_character

public char16 unmodified_character;
Same as |character| but unmodified by any concurrently-held modifiers (except shift). This is useful for working out shortcut keys.

windows_key_code

public int windows_key_code;
The Windows key code for the key event. This value is used by the DOM specification. Sometimes it comes directly from the event (i.e. on Windows) and sometimes it's determined using a mapping function. See WebCore/platform/chromium/KeyboardCodes.h for the list of values.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt