Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add list example #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add list example #51

wants to merge 1 commit into from

Conversation

vindarel
Copy link

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.

@lispnik
Copy link
Owner

lispnik commented Oct 21, 2019

@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.

@vindarel
Copy link
Author

Ah, thanks. Now :multiple is the keyword.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants