---
name: "al_osx_get_window"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_osx_get_window"
---

# al\_osx\_get\_window(3)

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
