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

As a student, I want to be able to create buttons #67

Open
3 tasks
AlphaRLee opened this issue Nov 10, 2020 · 0 comments
Open
3 tasks

As a student, I want to be able to create buttons #67

AlphaRLee opened this issue Nov 10, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@AlphaRLee
Copy link
Member

AlphaRLee commented Nov 10, 2020

GOTO: Talk to Richard (@AlphaRLee) if you are stuck

TODO: Have a second design meeting about the topic

  • should button be defined as an HTML button or inside the canvas?

AC:

  • Create a method button("Button label", on_button_click) that receives a user-defined function with no args and triggers it when pressed
  • Render a button
  • Create a method button_print_text("Button label", "Text") that prints the given text in font size 32 in the center of the screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant