DOKK / manpages / debian 11 / allegro5-doc / al_osx_get_window.3alleg5.en
al_osx_get_window(3alleg5) al_osx_get_window(3alleg5)

al_osx_get_window - Allegro 5 API

#include <allegro5/allegro_osx.h>
NSWindow* al_osx_get_window(ALLEGRO_DISPLAY *display)
    

Retrieves the NSWindow handle associated with the Allegro display.

5.0.8, 5.1.3

Allegro reference manual