---
name: "al_osx_get_window"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_osx_get_window/3alleg5"
---

# al\_osx\_get\_window(3alleg5)

Allegro 5 API

## NAME

al\_osx\_get\_window - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

Retrieves the NSWindow handle associated with the Allegro display.

## SINCE

5\.0.8, 5.1.3
