[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: forms: set_field_type, submit button
From: |
Moritz Beller |
Subject: |
Re: forms: set_field_type, submit button |
Date: |
Wed, 27 Apr 2005 14:27:20 +0200 |
On Tue, 26 Apr 2005 17:01:06 -0400 (EDT)
Thomas Dickey <address@hidden> wrote:
> I think you could do it by making your program keep track of the
> keystrokes (it has to anyway), and when doing a next-field from the
> last field of the form, translate that into an application code that
> your program can use to switch to the Ok/Cancel buttons. I don't
> recall any example within ncurses that does that sort of traversal,
> but dialog does it (I've made the logic for the bottom row of buttons
> reusable for the different widgets).
Ok, so the only questions that's left is how to create an ok button with
ncurses?
Moritz
--
(o_ web http://www.4momo.de
//\ mail momo at 4momo dot de
V_/_ gpg http://gpg.notlong.com