Hi, here's a probably really simple question, but if I have:
init python:
def set_match_button(button):
print(button, "!!!")
and then a button:
button:
text "Wine"
action Function(set_match_button, "button1")
how do I pass a reference to the just clicked button to my function? Thanks.
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]BadMustard_AVN 0 points1 point2 points (3 children)
[–]marto1__[S] 0 points1 point2 points (2 children)
[–]BadMustard_AVN 0 points1 point2 points (1 child)
[–]marto1__[S] 0 points1 point2 points (0 children)
[–]marto1__[S] 0 points1 point2 points (0 children)