diff options
author | lovetox <philipp@hoerist.com> | 2021-12-27 21:02:42 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2021-12-27 21:02:42 +0300 |
commit | 86fb79624202ba07e8854a3be3de40f9bf5be422 (patch) | |
tree | 853454ac4b356c2f9ecc81ef96fd1e6b1e47d76a /typings | |
parent | 72d8c294ace3d3a45b98416c767b82458b725ae2 (diff) |
Typing: Add AppKit stubs
Diffstat (limited to 'typings')
-rw-r--r-- | typings/AppKit/__init__.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/typings/AppKit/__init__.py b/typings/AppKit/__init__.py new file mode 100644 index 000000000..185aeccfe --- /dev/null +++ b/typings/AppKit/__init__.py @@ -0,0 +1,16 @@ + +from __future__ import annotations + +from typing import Any + + +class NSLocale: + @classmethod + def currentLocale(cls) -> Any: ... + + +class NSSound: + @classmethod + def alloc(cls) -> NSSound: ... + def initWithContentsOfFile_byReference_(self, url: str, byref: bool) -> None: ... + def play(self) -> None: ... |