---
name: "dtk_window_getsize"
section: "3"
platform: "linux"
package: "libdrawtk-dev"
version: "2.0-2.1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/dtk_window_getsize"
---

# dtk\_window\_getsize(3)

Return window size in pixel

## NAME

dtk\_window\_getsize - Return window size in pixel

## SYNOPSIS

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

**void dtk\_window\_getsize(dtk\_hwnd** *wnd***, unsigned int \****w***,**\
                                       **unsigned int \****h***);**\

## DESCRIPTION

This function returns the current size in pixel of the window associated with the handle *wnd* into the values pointed by *w* and *h*. If *wnd*, *w* or *h* is NULL, the function does nothing.

## RETURN VALUE

None

## SEE ALSO

[**dtk\_create\_window**(3)](/dtk_create_window/3.md)
