-
-
Notifications
You must be signed in to change notification settings - Fork 0
CFrame
D. Liam Mc. edited this page Jun 18, 2025
·
1 revision
A customizable frame that allows widgets to be added to it
frame = CFrame(self)
frame.addWidget(button)| Arguments | Value |
|---|---|
| master | self, Any Qt Widget or PyCt6 Widget |
| width | integer, width in pixels |
| height | integer, height in pixels |
| border_width | integer, border width in pixels |
| corner_radius | integer, corner radius in pixels |
| background_color | tuple: ("light color", "dark color") or single color, background color |
| border_color | tuple: ("light color", "dark color") or single color, border color |
| layout_type | string, layout horizontal or vertical, vertical is the default |
.addWidget(widget)
CustomPyQt by D. Liam Mc. 2025