[Top][All Lists]

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

borders around form fields

From: Will Parsons
Subject: borders around form fields
Date: Fri, 24 Nov 2006 14:22:38 +0000 (UTC)
User-agent: slrn/ (Debian)

I am trying to convert a test program that presently just uses stdio for 
its user interaction to have a visually appealing interface using ncurses.
For some of the data that needs to be entered by the user, it would make
sense to make use of the forms library, but for aesthestic reasons, I 
would like to use shaded borders around the entry fields, like those that 
can be seen e.g. in the FreeBSD sysinstall screen for adding a new user.  
(I think the FreeBSD sysinstall utility uses "dialog", but this is not 
suitable for my use since my program is not a shell script.)

There doesn't seems to be any API for drawing a border around individual
fields, so how can accomplish this without re-inventing the logic already
built into the forms library?

- Will

reply via email to

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