mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
pywin32: Fix various arguments (#13846)
This commit is contained in:
@@ -4923,7 +4923,7 @@ class PyCColorDialog:
|
||||
def DoModal(self): ...
|
||||
def GetSavedCustomColors(self): ...
|
||||
def SetCurrentColor(self, color, /) -> None: ...
|
||||
def SetCustomColors(self) -> None: ...
|
||||
def SetCustomColors(self, colors: Sequence[int], /) -> None: ...
|
||||
def GetCustomColors(self) -> tuple[Incomplete, ...]: ...
|
||||
|
||||
class PyCComboBox:
|
||||
|
||||
@@ -200,7 +200,7 @@ def LoadLibrary(fileName: str, /): ...
|
||||
def LoadLibraryEx(fileName: str, handle: int, handle1, /) -> int: ...
|
||||
def LoadResource(handle: int, _type: _win32typing.PyResourceId, name: _win32typing.PyResourceId, language, /) -> str: ...
|
||||
def LoadString(handle: int, stringId, numChars: int = ..., /) -> str: ...
|
||||
def MessageBeep(type: int, /): ...
|
||||
def MessageBeep(type: int = 0, /): ...
|
||||
def MessageBox(hwnd: int | None, message: str, title: str | None = ..., style=..., language=..., /) -> int: ...
|
||||
def MonitorFromPoint(pt: tuple[Incomplete, Incomplete], Flags: int = ...) -> int: ...
|
||||
def MonitorFromRect(rc: _win32typing.PyRECT | tuple[int, int, int, int], Flags: int = ...) -> int: ...
|
||||
@@ -268,7 +268,7 @@ def SetCursorPos(arg: tuple[Incomplete, Incomplete], /) -> None: ...
|
||||
def SetDllDirectory(PathName: str, /) -> None: ...
|
||||
def SetErrorMode(errorMode, /): ...
|
||||
def SetFileAttributes(pathName: str, attrs, /): ...
|
||||
def SetLastError(): ...
|
||||
def SetLastError(errVal: int, /): ...
|
||||
def SetSysColors(Elements, RgbValues, /) -> None: ...
|
||||
def SetLocalTime(SystemTime: TimeType, /) -> None: ...
|
||||
def SetSystemTime(year, month, dayOfWeek, day, hour, minute, second, millseconds, /): ...
|
||||
|
||||
@@ -152,7 +152,7 @@ def AlphaBlend(
|
||||
/,
|
||||
) -> None: ...
|
||||
def MessageBox(parent: _win32typing.PyHANDLE | int | None, text: str, caption: str, flags, /): ...
|
||||
def MessageBeep(_type, /) -> None: ...
|
||||
def MessageBeep(type, /) -> None: ...
|
||||
def CreateWindow(
|
||||
className: str | _win32typing.PyResourceId,
|
||||
windowTitle: str | None,
|
||||
|
||||
Reference in New Issue
Block a user