list_dialog()

Joerg Fischer jf505 at gmx.de
Fri Oct 6 23:14:50 CEST 2006


Tony Balinski wrote:

> I know other people are using this patch an like it. Can we have a vote?
>  1) leave it out of 5.6 (it's a bug release after all, but when will 5.7
>     or 6.0 arrive?)
>  2) put in list_multisel_dialog() as in the patch
>  3) break the list_dialog() interface to add a single|multi keyword
>     argument
>  4) semi-break list_dialog() so that the parameter following the list is
>     treated as a button ONLY if it does not equal single|multi - ie change
>     its interface to
>        

Returning from a three weeks journey, my favorite is #2 but call the
function list_dialog_multisel(). Then follows #4, but I would put
the optional parameter at the start, ie 
 
 list_dialog(["singlesel"|"multisel",] prompt, list, button_label1, ...)

Finally, Tony's #4 will do, too - I really like to have this
function in a new release.  A global variable setting the default
value of the optional parameter like $list_dialog_select_mode also
would be a good idea.

Cheers,
Jörg





More information about the Discuss mailing list