[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dialog and large selection lists
From: |
Peter Hansson |
Subject: |
Re: Dialog and large selection lists |
Date: |
Tue, 18 Dec 2012 01:49:39 -0800 (PST) |
----- Original Message -----
> From: nick black <address@hidden>
> To: Peter Hansson <address@hidden>
> Cc: "address@hidden" <address@hidden>
> Sent: Friday, December 14, 2012 3:43 PM
> Subject: Re: Dialog and large selection lists
>
> Peter Hansson left as an exercise for the reader:
>> I'm trying to use Dialog for some rather large selection lists (in the
>> range 20-100 items).
>> User must select one and one only of these items.
>> For this purpose I'm using the menu widget.
>
> I've written pretty gross code to handle a similar situation. It's
> currently
> embedded within
> https://github.com/dankamongmen/growlight/blob/master/src/ncurses.c,
> but I'm someday soon going to extract some of these routines and expose them
> as an ncurses extension library. Feel free to rip anything here off you'd
> like.
>
Nick,
That sounds excellent. I'll have a look. It also would sound very strange if I
was the first
one that tried to apply this (what I would call) rather common use case on
Dialog or anything
based on n(curses).
Thx. I'll look into it.
Peter
> --
> nick black http://www.sprezzatech.com -- unix and hpc consulting
> to make an apple pie from scratch, you need first invent a universe.
>