Skip to content

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

@AlphaRLee

Description

@AlphaRLee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions