[Top][All Lists]

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

Re: Mixing Forms and Menus?

From: Thomas Dickey
Subject: Re: Mixing Forms and Menus?
Date: Mon, 2 Jun 2008 08:17:48 -0400 (EDT)

On Sun, 1 Jun 2008, OLBA wrote:


how to mix forms and menus in one mask?

There is the from_driver and the menu_driver.

What I want, is using both things in one screen-mask.

Is this supported by ncurses, or do I have to
write my own widget-library on top of (low-level) ncurses?

Both drivers accept a keycode and perform actions where the keycode is
associated.  If the associations for the keycodes in the two drivers
are different, you could run one after the other by checking the return
code for E_UNKNOWN_COMMAND to decide if the other should be tried.

Thomas E. Dickey

reply via email to

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