Re: [code] [textadept] Feature Request: ui "checkbox" dialog

From: Mitchell <m.att.foicica.com>
Date: Wed, 5 Mar 2014 19:48:14 -0500 (EST)

Hi Bill,

On Tue, 4 Mar 2014, Bill Meahan wrote:

>
> For a supercalifragilisticexpialidocious support module I'm writing for
> ConTeXt Mk IV (a Friend of TeX analogous to LaTeX), I could really use one of
> the following:
>
> 1. A dialog box that accepts a list of items and displays them in a
> vertical list with check boxes next to them. Returns a list of those
> items for which the user checked the box.

Tonight's nightly will have a new dialog `optionselect`. You can use it
like this:

    ui.dialogs.optionselect{
      title = 'Language',
      informative_text = 'Check the languages you understand'
      items = {'English', 'French', 'German', 'Russian', 'Spanish'},
      select = {1, 3}, string_output = true
    }

Documentation will be in the nightly's `doc/api/ui.dialogs.html` file.

This will be in 7.2.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 05 Mar 2014 - 19:48:14 EST

This archive was generated by hypermail 2.2.0 : Thu 06 Mar 2014 - 06:39:20 EST