hoffstadt / hoffstadt/DearPyGui

pythonic messagebox (popup)

Open
#2,188 12 comments 0 reactions 0 assignees View on GitHub
state: pending type: docs
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

Hi, any pythonic way to use messagebox (popup) as below?
```python
do_sth_step1(...)
user_response = msgbox('Confirm?') # Yes/No
if user_response == 'Yes':
do_sth_step2(...)
```
Currently i have to move `do_sth_step2` to callback to msgbox (Yes/No buttons on popup window), like callback chain or "callback hell" if nest popups ... Thanks for any guide!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.