[Top][All Lists]

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

Re: How to tell highlighted from selected items in multi-select menu?

From: Thomas Dickey
Subject: Re: How to tell highlighted from selected items in multi-select menu?
Date: Mon, 9 Jun 2008 07:32:03 -0400 (EDT)

On Mon, 9 Jun 2008, Adam Spragg wrote:

Thanks for the reply.

On Monday 09 June 2008 00:44:09 Thomas Dickey wrote:
On Fri, Jun 06, 2008 at 04:48:01PM +0100, Adam Spragg wrote:
The problem is that it appears to be impossible for the user to
distinguish between the currently highlighted item and selected

reading the code, I don't see any different conclusion.

The file menu/m_post.c, function _nc_Post_Item() does all
of the work for this detail.

Damn. Hmmm. Any idea how I ought to go about this? Should I be using
something other than the menu to give the user what is effectively a
set of checkboxes?

It did seem like a reasonable idea. Perhaps adding a function to set the colors for the current item (overriding "fore") would be enough.

dialog uses separate widgets for the checkbox/radiobox and menu-list though.

I've looked through the form library documentation and there doesn't
appear to be any way of doing checkboxes there either. The closest
would appear to be an enum field with "true" and "false" options (Or
could I use "X" and " " with some event/driver hackery to get space to
toggle the selection?) but that doesn't seem right somehow.

Thomas E. Dickey

reply via email to

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