pygui most dialogs are modal, default dialogs to modal
This commit is contained in:
parent
ea4271d7cb
commit
9d1f5cfcc6
31 changed files with 37 additions and 45 deletions
|
@ -11,7 +11,7 @@ if TYPE_CHECKING:
|
|||
|
||||
class Dialog(tk.Toplevel):
|
||||
def __init__(
|
||||
self, master: tk.Widget, app: "Application", title: str, modal: bool = False
|
||||
self, master: tk.Widget, app: "Application", title: str, modal: bool = True
|
||||
):
|
||||
super().__init__(master)
|
||||
self.withdraw()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue