bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subwindows and delwin


From: Thomas Dickey
Subject: Re: Subwindows and delwin
Date: Fri, 16 Jan 2009 10:21:01 -0500 (EST)

On Fri, 16 Jan 2009, Mike Gran wrote:

The curses docs say that a subwin shares memory with its parent window, and that it needs to be freed before the parent window is freed.

If a window and a subwindow share the memory, and if a subwindow is freed with delwin(), is the parent window unaffected? Can I continue to use the parent window?

yes (I recall using this in some programs).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]