Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::arg_keyboard Struct Reference
Inheritance diagram for nana::arg_keyboard:
nana::event_arg

Public Attributes

event_code evt_code
 it is event_code::key_press in current event More...
 
::nana::window window_handle
 A handle to the event window. More...
 
wchar_t key
 the key corresponding to the key pressed More...
 
bool ignore
 this member is only available for key_char event, set 'true' to ignore the input. More...
 
bool alt
 it is set to indicate the modifier key Alt just prior to the event. More...
 
bool ctrl
 it is set to indicate the modifier key Ctrl just prior to the event. More...
 
bool shift
 it is set to indicate the modifier key Shift just prior to the event. More...
 

Additional Inherited Members

- Public Member Functions inherited from nana::event_arg
virtual ~event_arg ()=default
 
void stop_propagation () const
 ignorable handlers behind the current one in a chain of event handlers will not get called. More...
 
bool propagation_stopped () const
 

Detailed Description

Member Data Documentation

bool nana::arg_keyboard::alt

it is set to indicate the modifier key Alt just prior to the event.

bool nana::arg_keyboard::ctrl

it is set to indicate the modifier key Ctrl just prior to the event.

event_code nana::arg_keyboard::evt_code

it is event_code::key_press in current event

bool nana::arg_keyboard::ignore
mutable

this member is only available for key_char event, set 'true' to ignore the input.

Examples:
listbox_inline_widget.cpp.
wchar_t nana::arg_keyboard::key
mutable

the key corresponding to the key pressed

Examples:
listbox_inline_widget.cpp.
bool nana::arg_keyboard::shift

it is set to indicate the modifier key Shift just prior to the event.

::nana::window nana::arg_keyboard::window_handle

A handle to the event window.