Skip to content

taking parameters from button click on loop does not work #981

Closed Answered by rmorshea
bobwatcherx asked this question in Question
Discussion options

You must be logged in to vote

This is because, just as in Javascript, the first parameter passed to event handlers is information about the event itself. Your function lambda i=i: klik(i) should be rewritten as lambda event, i=i:klik(i)

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@rmorshea
Comment options

Comment options

You must be logged in to vote
1 reply
@rmorshea
Comment options

Answer selected by rmorshea
Comment options

You must be logged in to vote
1 reply
@rmorshea
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants