---
name: "is_timeout"
section: "3ncurses"
platform: "linux"
package: "libncurses5-dev"
version: "5.7+20081213-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/opaque/3ncurses"
---

# is\_timeout(3ncurses)

curses window properties

Part of [opaque(3ncurses)](/opaque/3ncurses.md).

## NAME

**is\_cleared**, **is\_idlok**, **is\_idcok**, **is\_immedok**, **is\_keypad**, **is\_leaveok**, **is\_nodelay**, **is\_timeout**, **is\_scrollok**, **is\_syncok** - **curses** window properties

## SYNOPSIS

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

**bool is\_cleared(const WINDOW \*win);**\
 **bool is\_idcok(const WINDOW \*win);**\
 **bool is\_idlok(const WINDOW \*win);**\
 **bool is\_immedok(const WINDOW \*win);**\
 **bool is\_keypad(const WINDOW \*win);**\
 **bool is\_leaveok(const WINDOW \*win);**\
 **bool is\_nodelay(const WINDOW \*win);**\
 **bool is\_notimeout(const WINDOW \*win);**\
 **bool is\_scrollok(const WINDOW \*win);**\
 **bool is\_syncok(const WINDOW \*win);**\
 **WINDOW \* wgetparent(const WINDOW \*win);**\
 **int wgetscrreg(const WINDOW \*win, int \*top, int \*bottom);**\

## DESCRIPTION

This implementation provides functions which return properties set in the WINDOW structure, allowing it to be \`\`opaque'' if the symbol **NCURSES\_OPAQUE** is defined:

- **is\_cleared**

  returns the value set in **clearok**

- **is\_idcok**

  returns the value set in **idcok**

- **is\_idlok**

  returns the value set in **idlok**

- **is\_immedok**

  returns the value set in **immedok**

- **is\_keypad**

  returns the value set in **keypad**

- **is\_leaveok**

  returns the value set in **leaveok**

- **is\_nodelay**

  returns the value set in **nodelay**

- **is\_notimeout**

  returns the value set in **notimeout**

- **is\_scrollok**

  returns the value set in **scrollok**

- **is\_syncok**

  returns the value set in **syncok**

- **wgetparent**

  returns the parent WINDOW pointer for subwindows, or NULL for windows having no parent.

- **wgetscrreg**

  returns the top and bottom rows for the scrolling margin as set in **wsetscrreg**.

## RETURN VALUE

These functions all return TRUE or FALSE, except as noted.

## NOTES

Both a macro and a function are provided for each name.

## PORTABILITY

These routines are specific to ncurses. They were not supported on Version 7, BSD or System V implementations. It is recommended that any code depending on ncurses extensions be conditioned using NCURSES\_VERSION.

## SEE ALSO

**ncurses**(3NCURSES), **inopts**(3NCURSES), **outopts**(3NCURSES), **window**(3NCURSES)
