S
S
sparr0w12021-09-10 14:37:28
Python
sparr0w1, 2021-09-10 14:37:28

How to make a function call when a button is clicked again?

When the button is pressed, a function is called, and I need another function to be called when the button is pressed again

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Yakovlev, 2021-09-11
@MerzoIT

Use a flag to pass which function to run.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question