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

User Question Buttons #1072

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

User Question Buttons #1072

wants to merge 1 commit into from

Commits on Nov 8, 2022

  1. User Question Buttons

    This is an update to the user.prompt.
    It allows up to 3 optional buttons to be displayed.
    The button text is returned when clicked.
    A typical example.
    sAnswewr = user.prompt('Is the LED on?',text_input=False,button_1_text="Yes",button_2_text="No",button_3_text="Cancel")
    Will ask the question 'Is the LED on?' and the user can click "Yes", "No" or "Cancel"
    Spudmn committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    d1df080 View commit details
    Browse the repository at this point in the history