[Top][All Lists]

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

Re: Reset the cursor posion in CDK

From: Thomas Dickey
Subject: Re: Reset the cursor posion in CDK
Date: Sun, 6 Nov 2005 18:32:35 -0500 (EST)

On Sun, 6 Nov 2005, Joshua Karstendick wrote:

You could write a small wrapper function that calls the function and
then moves the cursor where you want it.

That sounds like it would work. He'd have to find the widget on which focus lies and restore that focus.

Actually RefreshDataObj() probably ought to restore the cursor position in each object, just for tidiness.

On 11/4/05, Fu Steve X <address@hidden> wrote:

Hi, Thomas,

There are several input widgets such as itemlist or entry on my screen and I
use traverseCDKScreen to start the event loop.

I also use a RESET callBack to refresh  the values of all the input widget
after tabbing around. However, after the refreshing, the cursor still stays
in where it was before the  RESET. Is there any easy way of re-position the
cursor to its initial position, the upper left widget on the screen?


Steve Fu
Bug-ncurses mailing list

Joshua Karstendick

Thomas E. Dickey

reply via email to

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