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

provides some fundamental events that every widget owns. More...

Inheritance diagram for nana::general_events:
nana::detail::events_root_extension nana::drawerbase::categorize::categorize_events< T > nana::drawerbase::checkbox::events_type nana::drawerbase::combox::combox_events nana::drawerbase::date_chooser::date_chooser_events nana::drawerbase::listbox::listbox_events nana::drawerbase::scroll::scroll_events nana::drawerbase::slider::slider_events nana::drawerbase::spinbox::spinbox_events nana::drawerbase::tabbar::tabbar_events< T > nana::drawerbase::tabbar_lite::events nana::drawerbase::textbox::textbox_events nana::drawerbase::toolbar::toolbar_events nana::drawerbase::treebox::treebox_events

Public Member Functions

virtual ~general_events ()=default
 

Public Attributes

basic_event< arg_mousemouse_enter
 the cursor enters the window More...
 
basic_event< arg_mousemouse_move
 the cursor moves on the window More...
 
basic_event< arg_mousemouse_leave
 the cursor leaves the window More...
 
basic_event< arg_mousemouse_down
 the user presses the mouse button More...
 
basic_event< arg_mousemouse_up
 the user presses the mouse button More...
 
basic_event< arg_clickclick
 the window is clicked, but occurs after mouse_down and before mouse_up More...
 
basic_event< arg_mousedbl_click
 the window is double clicked More...
 
basic_event< arg_wheelmouse_wheel
 the mouse wheel rotates while the window has focus More...
 
basic_event< arg_dropfilesmouse_dropfiles
 the mouse drops some external data while the window enable accepting files More...
 
basic_event< arg_exposeexpose
 the visibility changes More...
 
basic_event< arg_focusfocus
 the window receives or loses keyboard focus More...
 
basic_event< arg_keyboardkey_press
 a key is pressed while the window has focus. event code is event_code::key_press More...
 
basic_event< arg_keyboardkey_release
 a key is released while the window has focus. event code is event_code::key_release More...
 
basic_event< arg_keyboardkey_char
 a character, whitespace or backspace is pressed. event code is event_code::key_char More...
 
basic_event< arg_keyboardshortkey
 a defined short key is pressed. event code is event_code::shortkey More...
 
basic_event< arg_movemove
 the window changes position More...
 
basic_event< arg_resizingresizing
 the window is changing its size More...
 
basic_event< arg_resizedresized
 the window is changing its size More...
 
basic_event< arg_destroydestroy
 the window is destroyed, but occurs when all children have been destroyed More...
 

Detailed Description

provides some fundamental events that every widget owns.

Constructor & Destructor Documentation

virtual nana::general_events::~general_events ( )
virtualdefault

Member Data Documentation

basic_event<arg_click> nana::general_events::click
basic_event<arg_mouse> nana::general_events::dbl_click

the window is double clicked

Examples:
widget_show2.cpp.
basic_event<arg_destroy> nana::general_events::destroy

the window is destroyed, but occurs when all children have been destroyed

basic_event<arg_expose> nana::general_events::expose

the visibility changes

basic_event<arg_focus> nana::general_events::focus

the window receives or loses keyboard focus

basic_event<arg_keyboard> nana::general_events::key_char

a character, whitespace or backspace is pressed. event code is event_code::key_char

basic_event<arg_keyboard> nana::general_events::key_press

a key is pressed while the window has focus. event code is event_code::key_press

basic_event<arg_keyboard> nana::general_events::key_release

a key is released while the window has focus. event code is event_code::key_release

basic_event<arg_mouse> nana::general_events::mouse_down

the user presses the mouse button

basic_event<arg_dropfiles> nana::general_events::mouse_dropfiles

the mouse drops some external data while the window enable accepting files

basic_event<arg_mouse> nana::general_events::mouse_enter

the cursor enters the window

basic_event<arg_mouse> nana::general_events::mouse_leave

the cursor leaves the window

basic_event<arg_mouse> nana::general_events::mouse_move

the cursor moves on the window

basic_event<arg_mouse> nana::general_events::mouse_up

the user presses the mouse button

basic_event<arg_wheel> nana::general_events::mouse_wheel

the mouse wheel rotates while the window has focus

basic_event<arg_move> nana::general_events::move

the window changes position

basic_event<arg_resized> nana::general_events::resized

the window is changing its size

basic_event<arg_resizing> nana::general_events::resizing

the window is changing its size

basic_event<arg_keyboard> nana::general_events::shortkey

a defined short key is pressed. event code is event_code::shortkey