I need a simple, modal dialog box with a dynamic text and Yes/No buttons. Ideally, I’d like to access it with something like:
if msgBox(title,message,icon) == 'FINISHED': #YES clicked <do something> else: #NO clicked <do something else>
I looked through api and searched the web, but the solutions I find are either too rigid or overly complicated.
I am hoping someone here has a class with this function ready-to-go and is willing to share the code