widgets/dialog.py Improve widget appearance.

pull/8/head
Peter Hinch 2021-06-22 18:49:40 +01:00
rodzic e5a3dcaa37
commit 665b9e6525
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1098,8 +1098,8 @@ from gui.widgets.dialog import DialogBox
```
![Image](./images/dialog.JPG)
A rather poor photo of an active dialog box. Auto generated dialogs contain
only `pushbutton` instances, but user created dialogs may contain any widget.
An active dialog box. Auto generated dialogs contain only `pushbutton`
instances, but user created dialogs may contain any widget.
This implements a modal dialog box based on a horizontal row of pushbuttons.
Any button press will close the dialog. The caller can determine which button