[Top][All Lists]

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

Re: move_panel and getbegxy

From: Thomas Dickey
Subject: Re: move_panel and getbegxy
Date: Thu, 24 May 2007 15:31:13 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, May 24, 2007 at 09:30:56AM -0500, Bryan Christ wrote:
> This is a bug which Thomas and I discussed sometime ago.  You'll 
> basically have to move the subwin yourself.  A sample is below.
> Thomas may have the other half of this email, I can't seem to find the 
> follow up, but at least this will clear things up for you a bit. 
> Basically, even though its a bug, other implementations of curses have 
> this problem and so to fix it would break compatibility.

hmm.  There's several parts of the email.  One part early last year
pointed out a problem with mvwin, which resulted in a change with 20060218.
For that, see the example I made in test/demo_menus.c showing how to move
a menu around on the screen (the move_menu function).

The next part is considering whether I should add an extension for the
menu library that (unlike most of the other extensions) doesn't require
internal knowledge of the library - and whether the need for moving
menus around on the screen is common enough to outweigh the incompatbility
with SVr4 menu library(*).

(perhaps it is - there were just too many things going on last year ;-)

Anyway, menu_driver() wouldn't be the place to add the functionality - 
I don't see how it would fit there.

(*) I do have incompatible changes in mind though - see NCURSES_OPAQUE.

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

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