tk_choose           Jan 2001           Ying-Wan Lam           tkgui Function

NAME

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.

EXAMPLE


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