---
name: "qnx_get_window"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/qnx_get_window"
---

# qnx\_get\_window(3alleg)

Retrieves a handle to the window used by Allegro.

## NAME

qnx\_get\_window - Retrieves a handle to the window used by Allegro.

## SYNOPSIS

**#include \<allegro.h\>**

**PtWidget\_t qnx\_get\_window(void);**

## DESCRIPTION

Retrieves a handle to the window used by Allegro. Note that Allegro uses an underlying window even though you don't set any graphics mode, unless you have installed the neutral system driver (SYSTEM\_NONE).
