-
-
Notifications
You must be signed in to change notification settings - Fork 0
CTopLevel
D. Liam Mc. edited this page Jun 29, 2025
·
3 revisions
toplevel = CTopLevel(None, width=400, height=250, title="CTopLevel")
toplevel.show()| Argument | Value |
|---|---|
| width | integer, width in pixels |
| height | integer, height in pixels |
| x | integer, x position in pixels |
| y | integer, y position in pixels |
| title | string, title bar text |
| icon | string, title bar icon path |
| background_color | string, tuple: ("light color", "dark color") or single color, background color |
| opacity | float, opacity or transparency 1.0 no transparancy, 0.0 completly transparent |
| style | string, none by default, optional mica or alt theme on windows 11 only using win32mica |
.setWindowBackground(background_color)
.setWindowTheme(system_theme)
.setWindowIcon(icon_path)CustomPyQt by D. Liam Mc. 2025