hoffstadt / hoffstadt/DearPyGui
pythonic messagebox (popup)
Open
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
Assessment
This issue has not been assessed yet.