bug-ncurses
[Top][All Lists]
Advanced

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

Re: CDK - Multiple Menu's (cdk_menu)


From: Marc Smith
Subject: Re: CDK - Multiple Menu's (cdk_menu)
Date: Mon, 10 Aug 2015 17:05:06 -0400

Thanks for the reply; I'm not sure that cdk_traverse would do the trick, at least I can't think of how that would work right now... and the more I think about a second screen, I'm not sure it would look right on the display -- I need to think about this one more and how/if I would need to refresh multiple screens and how it would look with the menu dropping down over the sub screen (maybe the top screen would have focus).

I played around with menu.c a bit and modifying it seems pretty straight forward -- would you be open to making menuPos accept the normal constants (TOP and BOTTOM) and additional a row number for the position? I could produce a patch with your input...


Thanks,

Marc



On Mon, Aug 10, 2015 at 2:23 PM, Thomas Dickey <address@hidden> wrote:
On Fri, Aug 07, 2015 at 12:09:17AM -0400, Marc Smith wrote:
> Hi,
>
> Looking for any tips for using multiple CDK menu's on a single screen... I
> know that I can use one on the TOP and one on the BOTTOM but I want one on
> top of the other (no rows between)... and maybe that is the answer, to not
> use a single CDK screen but use multiple? Put one CDK menu on a screen, and
> then the second on a different (sub) screen?

You might be able to do this with the tab-traversal feature
(see the cdk_traverse manpage).

If not, separate screens is the way to go.

--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlXI7C8ACgkQcCNT4PfkjtuPUQCfT2O5bRsx9DuKzy5ZMC2Q9/2z
HXQAnjRyYWU67J3bibCO851iR1JqMB3Y
=gTr4
-----END PGP SIGNATURE-----



reply via email to

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