tkgui Function
Last update : 22/2/2006

tk_choose - replacement of x_choose, interactively choosing from items.

Calling Sequence

[num]=tk_choose(items,title,buttons,multiple,nview)
[num]=tk_choose(items,title,buttons,multiple)
[num]=tk_choose(items,title,buttons)
[num]=tk_choose(items,title)
[num]=tk_choose(items)

Parameters

Description

Returns in num the number(s) of the chosen item(s).

Type tk_choose() to see examples.

Examples

    n=tk_choose(['item1';'item2';'item3'],['that is a comment';'for the dialog'],'',%t)
    n=tk_choose(['item1';'item2';'item3'],['that is a comment'],['accept', 'reject'])
    

See Also

x_choose,  tk_choices,  tk_dialog,