Skip to content
New issue

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

Signal class for button click #3

Open
davidshumway opened this issue Apr 14, 2017 · 0 comments
Open

Signal class for button click #3

davidshumway opened this issue Apr 14, 2017 · 0 comments

Comments

@davidshumway
Copy link

Hello. Great project, thank you.

Regarding a game that is in project: https://github.com/Roland00111/Trumpocalypse.

Is it possible to describe the functionality for the Signal class? All that is necessary is to pass in a callback_function to an instance of a Button class for the onclick method. For the time being the idea for a workaround is to just alter Button to take a callback function as a parameter. Then call the callback function in the mouse_up function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant