We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The example for (button) does not work as written:
(button)
(button :text "Next" :mnemonic \N :listen [:action #(alert "NEXT!")])
It appears from experiment that it fails silently because the alert's arity is 0, which does not match its expected arity of 1. Minimal example below.
alert
Fails to alert when button is clicked:
(-> (config! (frame :title "Bug demo") :content (button :text "Next" :mnemonic \N :listen [:action #(alert "NEXT")])) pack! show!)
Alert appears when button is clicked:
(-> (config! (frame :title "Bug demo") :content (button :text "Next" :mnemonic \N :listen [:action #(alert %)])) pack! show!)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The example for
(button)
does not work as written:(button :text "Next" :mnemonic \N :listen [:action #(alert "NEXT!")])
It appears from experiment that it fails silently because the
alert
's arity is 0, which does not match its expected arity of 1. Minimal example below.Fails to alert when button is clicked:
Alert appears when button is clicked:
The text was updated successfully, but these errors were encountered: