File: winxptheme.pyi

package info (click to toggle)
typeshed 0.0~git20221107.4f381af-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,036 kB
  • sloc: python: 3,216; sh: 62; makefile: 13
file content (25 lines) | stat: -rw-r--r-- 1,184 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import _win32typing

def OpenThemeData(hwnd: int, pszClasslist: str) -> _win32typing.PyHTHEME: ...
def CloseThemeData(hTheme: _win32typing.PyHTHEME) -> None: ...
def DrawThemeBackground(hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pRect, pClipRect) -> None: ...
def DrawThemeText(
    hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pszText: str, dwCharCount, dwTextFlags, dwTextFlags2, pRect
) -> None: ...
def GetThemeBackgroundContentRect(hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pBoundingRect): ...
def GetThemeBackgroundExtent(hTheme: _win32typing.PyHTHEME, hdc, iPartId, iStateId, pContentRect): ...
def IsThemeActive() -> int: ...
def IsAppThemed() -> int: ...
def GetWindowTheme(hwnd: int) -> _win32typing.PyHTHEME: ...
def EnableThemeDialogTexture(hdlg, dwFlags) -> None: ...
def IsThemeDialogTextureEnabled(__hdlg: int | None) -> bool: ...
def GetThemeAppProperties(): ...
def EnableTheming(fEnable) -> None: ...
def SetWindowTheme(hwnd: int, pszSubAppName: str, pszSubIdlist: str) -> None: ...
def GetCurrentThemeName() -> tuple[str, str, str]: ...

ETDT_DISABLE: int
ETDT_ENABLE: int
ETDT_ENABLETAB: int
ETDT_USETABTEXTURE: int
UNICODE: int