Skip to content

Hope the show() function has customized return value instead of bool #142

@seeingrain

Description

@seeingrain

Think about an alert box with three buttons: "try again", "ignore", "cancel", if I need to know which button did user clicked, better to have a param in the DialogButton's constructor, indicates if user clicks this button, a unique predefined value will be returned, and the show() function returns this value then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions