iup icon indicating copy to clipboard operation
iup copied to clipboard

Add list example

Open vindarel opened this issue 6 years ago • 2 comments

Hello,

little contribution, even if:

I don't understand why but the dialog seems needed. Otherwise no UI shows and I can't C-c C-c the hanged process. Both map and show seem needed too.

The doc speaks about type 2 to have a multiselection list, but :type is not an accepted argument to iup:list.

vindarel avatar Oct 18 '19 23:10 vindarel

@vindarel IupList and IupListDialog are actually two different things. This makes it confusing and is why you didn't find a type attribute on IupList. The *Dialogs in the IUP documentation are like helpers for getting quick input from the user. Most of the IUP dialogs in IUP have a "class", and so can be introspected by the Lisp IUP bindings. Unfortunately, IupListDialog doesn't follow that pattern. I'll either have a go at wrapping the IupLispDialog, or document it as not covered by the bindings.

lispnik avatar Oct 21 '19 17:10 lispnik

Ah, thanks. Now :multiple is the keyword.

vindarel avatar Oct 21 '19 22:10 vindarel