bug-ncurses
[Top][All Lists]
Advanced

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

Re: Form Lib


From: Thomas Dickey
Subject: Re: Form Lib
Date: Fri, 23 Mar 2007 08:32:24 -0400 (EDT)

On Thu, 22 Mar 2007, Ricardo Cantu wrote:

I am trying to keep some CDK widgets on top of a windows/Form, but anytime any
field is updated or any field navigation is performed the widgets are
overlaid by what I assume is the form window. It seems as though the Form Lib
is forcing the entire window to be re-written any time any movement or update
is done to any field. I assumed that if nothing was changed in the area of
the widget that it would not have been written over. In the mean time I'm
having to issue a refreshCDKScreen () to keep the widgets on top of the form.
This makes for a very unpleasant refresh flicker.

Is it the intended behavior of the form lib to re-write the entire window so
often? Or am I missing something?

It's probably doing a wrefresh() rather than wnoutrefresh().
Cdk does some of the latter, but there are certainly places to improve.

I recall some previous discussion of using panel+form libraries,
but don't recall anything for panel+Cdk - but making those combinations
work seems the way to go.

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




reply via email to

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