bug-ncurses
[Top][All Lists]
Advanced

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

Re: Question .....


From: Thomas Dickey
Subject: Re: Question .....
Date: Tue, 5 May 2009 19:21:14 -0400 (EDT)

On Thu, 30 Apr 2009, Ben Duncan wrote:

Ok, I have been puzzling over this now for some time.

When creating WINDOWS, when a WINDOW gets closed, do you ALWAYS have
to go thru your window list and rebuild the screen?

"yes" - it's odd that delwin doesn't repaint the other windows, and if
you're not using panels, they don't get repainted.

I once used a version of curses (on VMS) which repainted after a delwin.
My impression was that it was based on a BSD flavor.  The AT&T / SVr4
flavor didn't do that.

(changing it would break some programs, I guess)


For example, stdscr gets set up and displayed. Then a WINDOW called "A_WIN"
gets setup and displayed, another called "B_WIN" and so on till we have
up to "E_WIN".

If the user closes / finishes with E_WIN, do i always have to
do a a routine such as:

delwin(E-WIN) ;
wrefresh(stdscr);
wrefresh(A_WIN) ;
wrefresh(B_WIN) ;
wrefresh(C_WIN) ;
wrefresh(D_WIN) ;

refresh () ;


To get the screen to look like it is suppose to?

So far the only thing that seems to make it easier, is to use
panels.

Am I correct, or am I missing something ?

--
Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212 "Never attribute to malice, that which can be adequately explained by stupidity"
      - Hanlon's Razor


_______________________________________________
Bug-ncurses mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ncurses


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




reply via email to

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