You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to connect a function to a click event on a specific widget? In particular, I am interested in linking a function execution to double-clicking on a particular Input widget. As far as I can see, the _on_click() method of Input does not have any kind of emit signal and the generic on_click method does not need to hold information about the clicked widget. I presume it is possible based on the x,y position of the click and widget but was wondering if there is an easier way.
Apologies if this is an obvious question, I could not find an answer after a reasonably thorough search of docs / issues but I may be looking for the wrong thing!
The text was updated successfully, but these errors were encountered:
Is it possible to connect a function to a click event on a specific widget? In particular, I am interested in linking a function execution to double-clicking on a particular
Input
widget. As far as I can see, the_on_click()
method ofInput
does not have any kind of emit signal and the genericon_click
method does not need to hold information about the clicked widget. I presume it is possible based on the x,y position of the click and widget but was wondering if there is an easier way.Apologies if this is an obvious question, I could not find an answer after a reasonably thorough search of docs / issues but I may be looking for the wrong thing!
The text was updated successfully, but these errors were encountered: