set_close_button_callback (3) Linux Manual Page
set_close_button_callback – Handles the user clicking on the close button of the window. Allegro game programming library. Synopsis #include <allegro.h> int set_close_button_callback(void (*proc)(void)); Description On platforms that have a close button, this routine installs a callback function to handle the close event. In other words, when the user clicks the close button on your program’s…
