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

Public Member Functions

bool is_left_button () const
 Checks if left button is operated,. More...
 
- 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
 

Public Attributes

event_code evt_code
 what kind of mouse event? More...
 
::nana::window window_handle
 A handle to the event window. More...
 
::nana::point pos
 cursor position in the event window More...
 
::nana::mouse button
 indicates a button which triggers the event More...
 
bool left_button
 true if mouse left button is pressed More...
 
bool mid_button
 true if mouse middle button is pressed More...
 
bool right_button
 true if mouse right button is pressed More...
 
bool alt
 true if keyboard alt is pressed More...
 
bool shift
 true if keyboard Shift is pressed More...
 
bool ctrl
 true if keyboard Ctrl is pressed More...
 

Member Function Documentation

bool nana::arg_mouse::is_left_button ( ) const
inline

Checks if left button is operated,.

Member Data Documentation

bool nana::arg_mouse::alt

true if keyboard alt is pressed

::nana::mouse nana::arg_mouse::button

indicates a button which triggers the event

bool nana::arg_mouse::ctrl

true if keyboard Ctrl is pressed

event_code nana::arg_mouse::evt_code

what kind of mouse event?

bool nana::arg_mouse::left_button

true if mouse left button is pressed

bool nana::arg_mouse::mid_button

true if mouse middle button is pressed

::nana::point nana::arg_mouse::pos

cursor position in the event window

bool nana::arg_mouse::right_button

true if mouse right button is pressed

bool nana::arg_mouse::shift

true if keyboard Shift is pressed

::nana::window nana::arg_mouse::window_handle

A handle to the event window.