Function Button.handleEvent
How the button determines when it has been pressed Collects events and if the events signify the button has been pressed, calls the button's action
void handleEvent
(
derelict .sdl2 .internal .sdl_types .SDL_Event event
);