[Top][All Lists]

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

Re: Proper Refresh Sequence?

From: Thomas E. Dickey
Subject: Re: Proper Refresh Sequence?
Date: Sun, 5 Aug 2001 11:15:40 -0400 (EDT)

On Sun, 5 Aug 2001, Michael B. Allen wrote:

> I'm using a delegation model where a tree of components are rendered
> recursively on the fly from a screen definition in an ascii file. I do
> not understand how the wrefresh calls are working and where they should
> be called. Ideally I'd like to do the recursive drawing and only after

the simplest way (other than using the panel library) is to use
wnoutrefresh() on each window and doupdate() at the end.  I have been
making changes to the dialog program recently using that approach
(using touchwin() as well - though it's not always needed for the effect
I'm designing).  Other than the example in the test/ncurses.c code, I'm
not sure how useful wsyncdown() is - it's rather specialized.

> What would be the proper sequence of refresh, wrefresh, touchwin,
> wsyncdown, doupdate or whatever to get this to work properly and
> efficiently?
> Mike
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses

T.E.Dickey <address@hidden>

reply via email to

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