massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / tkinter / messagebox.pyi
1 from tkinter.commondialog import Dialog
2 from typing import Any, ClassVar
3
4 ERROR: str
5 INFO: str
6 QUESTION: str
7 WARNING: str
8 ABORTRETRYIGNORE: str
9 OK: str
10 OKCANCEL: str
11 RETRYCANCEL: str
12 YESNO: str
13 YESNOCANCEL: str
14 ABORT: str
15 RETRY: str
16 IGNORE: str
17 CANCEL: str
18 YES: str
19 NO: str
20
21 class Message(Dialog):
22     command: ClassVar[str]
23
24 def showinfo(title: str | None = ..., message: str | None = ..., **options: Any) -> str: ...
25 def showwarning(title: str | None = ..., message: str | None = ..., **options: Any) -> str: ...
26 def showerror(title: str | None = ..., message: str | None = ..., **options: Any) -> str: ...
27 def askquestion(title: str | None = ..., message: str | None = ..., **options: Any) -> str: ...
28 def askokcancel(title: str | None = ..., message: str | None = ..., **options: Any) -> bool: ...
29 def askyesno(title: str | None = ..., message: str | None = ..., **options: Any) -> bool: ...
30 def askyesnocancel(title: str | None = ..., message: str | None = ..., **options: Any) -> bool | None: ...
31 def askretrycancel(title: str | None = ..., message: str | None = ..., **options: Any) -> bool: ...