SyncTk/classes/custom/messagebox.py

10 lines
304 B
Python
Raw Normal View History

2023-01-25 15:01:13 +02:00
# from typing import Union
# from ttkthemes import ThemedTk
# from classes.custom.toplevel_dialog import ToplevelDialog
# def askyesno(parent: ThemedTk, title: Union[str, None], message: Union[str, None]):
# toplevel = ToplevelDialog(parent, length=250, width=150)
# toplevel.grab_set()