xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Namespaces | Typedefs
event_handler.h File Reference
#include "delegate.h"
#include "event.h"
#include "event_args.h"


Contains xtd::event_handler event handler.

Go to the source code of this file.


 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.


using xtd::event_handler = generic_event_handler<>
 Represents the method that will handle an event that has no event data. More...
template<typename event_args_t = const xtd::event_args&>
using xtd::generic_event_handler = xtd::delegate< void(xtd::object &sender, event_args_t e)>
 Represents the method that will handle an event when the event provides data. More...