---
name: "GetHWND"
section: "3tk"
platform: "linux"
package: "tk8.3-doc"
version: "8.3.5-14"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/GetHWND/3tk"
---

# GetHWND(3tk)

retrieve the Windows handle for an X window

```

```

## NAME

Tk\_GetHWND - retrieve the Windows handle for an X window

## SYNOPSIS

```
#include <tkPlatDecls.h>

HWND
Tk_GetHWND(window)
```

## ARGUMENTS

- Window *window* (in)

  X token for window.

  ```

  ```

## DESCRIPTION

**Tk\_GetHWND** returns the Windows HWND identifier for X Windows window given by *window*.

## KEYWORDS

identifier, window
