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

Public Types

enum  reason { reason::general, reason::tabstop, reason::mouse_press }
 A constant to indicate how keyboard focus emitted. More...
 

Public Attributes

::nana::window window_handle
 A handle to the event window. More...
 
::nana::native_window_type receiver
 it is a native window handle, and specified which window receives focus More...
 
bool getting
 the window received focus? More...
 
reason focus_reason
 determines how the widget receives keyboard focus, it is ignored when 'getting' is equal to false 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
 

Member Enumeration Documentation

A constant to indicate how keyboard focus emitted.

Enumerator
general 

the focus is received by OS native window manager.

tabstop 

the focus is received by pressing tab.

mouse_press 

the focus is received by pressing a mouse button.

Member Data Documentation

reason nana::arg_focus::focus_reason

determines how the widget receives keyboard focus, it is ignored when 'getting' is equal to false

bool nana::arg_focus::getting

the window received focus?

::nana::native_window_type nana::arg_focus::receiver

it is a native window handle, and specified which window receives focus

::nana::window nana::arg_focus::window_handle

A handle to the event window.