This commit is contained in:
2024-11-29 18:15:30 +00:00
parent 40aade2d8e
commit bc9415586e
5298 changed files with 1938676 additions and 80 deletions

View File

@ -0,0 +1,23 @@
"""This is part of the MSS Python's module.
Source: https://github.com/BoboTiG/python-mss.
"""
from typing import Any, NamedTuple
Monitor = dict[str, int]
Monitors = list[Monitor]
Pixel = tuple[int, int, int]
Pixels = list[tuple[Pixel, ...]]
CFunctions = dict[str, tuple[str, list[Any], Any]]
class Pos(NamedTuple):
left: int
top: int
class Size(NamedTuple):
width: int
height: int