From f8d9a97ba2d673ef996e9f0bb0dbe7b29a7a4b1d Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 10 May 2006 16:11:44 +0000 Subject: Bug #1484978: curses.panel: clarify that Panel objects are destroyed on garbage collection. --- Doc/lib/libcursespanel.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/lib/libcursespanel.tex b/Doc/lib/libcursespanel.tex index 519091e..1f96717 100644 --- a/Doc/lib/libcursespanel.tex +++ b/Doc/lib/libcursespanel.tex @@ -22,6 +22,9 @@ Returns the bottom panel in the panel stack. \begin{funcdesc}{new_panel}{win} Returns a panel object, associating it with the given window \var{win}. +Be aware that you need to keep the returned panel object referenced +explicitly. If you don't, the panel object is garbage collected and +removed from the panel stack. \end{funcdesc} \begin{funcdesc}{top_panel}{} -- cgit v0.12