On this page
  1. curses.getwin
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

curses.getwin

Prev: curses.getsyx | Up: curses | Next: curses.halfdelay
Rel: curses.assume_default_colors, curses.baudrate, curses.beep, curses.can_change_color
Ref: docs.python.org — curses.getwin
Tags: #public #python3 #stdlib #curses


Import

import curses
from curses import getwin

Signature & Overview

curses.getwin(file, /)

Read window related data stored in the file by an earlier putwin() call.

Usage

import curses

# Restores a window previously serialized with win.putwin(file)
assert callable(curses.getwin)

Gotchas

REPL Inspect

from curses import getwin
help(getwin)

Linked from

Related notes