Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
lambda_event.cpp11.cpp
#include <nana/gui.hpp>
#include <iostream>
int main()
{
nana::form form;
form.events().click(
[]{ std::cout<<"form is clicked"<<std::endl; }
);
form.show();
}