mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 08:17:07 +08:00
tkinter: add types to clipboard methods (#4922)
This commit is contained in:
@@ -253,9 +253,9 @@ class Misc:
|
||||
def after_idle(self, func: Callable[..., Any], *args: Any) -> str: ...
|
||||
def after_cancel(self, id: str) -> None: ...
|
||||
def bell(self, displayof: Union[Literal[0], Misc, None] = ...): ...
|
||||
def clipboard_get(self, **kw): ...
|
||||
def clipboard_clear(self, **kw): ...
|
||||
def clipboard_append(self, string, **kw): ...
|
||||
def clipboard_get(self, *, displayof: Misc = ..., type: str = ...) -> str: ...
|
||||
def clipboard_clear(self, *, displayof: Misc = ...) -> None: ...
|
||||
def clipboard_append(self, string: str, *, displayof: Misc = ..., format: str = ..., type: str = ...): ...
|
||||
def grab_current(self): ...
|
||||
def grab_release(self): ...
|
||||
def grab_set(self): ...
|
||||
|
||||
Reference in New Issue
Block a user