Boost.UI
User Interface Boost library
Public Member Functions | List of all members
boost::ui::key_event Class Reference

Keyboard event class that holds information about keyboard when event was generated. More...

Inheritance diagram for boost::ui::key_event:
[legend]

Public Member Functions

int key_code () const
 Returns associated key code.
 
char32_t get_char () const
 Returns associated character.
 
- Public Member Functions inherited from boost::ui::keyboard_state
bool ctrl () const
 Returns true only if Control key is pressed.
 
bool shift () const
 Returns true only if Shift key is pressed.
 
bool alt () const
 Returns true only if Alt key is pressed.
 
bool meta () const
 Returns true only if Meta key is pressed.
 

Detailed Description

Keyboard event class that holds information about keyboard when event was generated.

See also
Keyboard (Wikipedia)
DOM Level 3 KeyboardEvent key Values (W3C)

The documentation for this class was generated from the following file: