-
-
Notifications
You must be signed in to change notification settings - Fork 0
Windows and Dialogs
Lasha Kandelaki edited this page May 7, 2026
·
1 revision
Pages are built from windows. A window can be the main entry point or a dialog.
Each page contains windows of two types:
| Type | Role |
|---|---|
| Main Window | Entry point of the page (one per page) |
| Dialog Window | Secondary or modal windows (zero or more per page) |
All windows share the same page-level assets (fonts, images, icons).
Ctrl+M or Window → Add Dialog
Creates a new Dialog Window inside the current page.
Window → All Windows
Lists all windows in the current page. Click to switch the active window.
Right-click empty canvas → Window/Dialog Properties
Opens settings for the current window (geometry, behaviour, grid, snapping, colors).
See also: Window Properties
When renaming a window:
- the class name updates
- the behavior file updates
assets/scripts/<page>/<window>.py
UI logic and code content remain unchanged.
Deletion shows a summary of:
- widgets count
- variables
- event handlers
You can choose:
- Delete → move file to system recycle bin
-
Archive → save copy to
assets/scripts_archive/<page>/
Each window is exported as a separate Python class.
- Main Window → entry point of the page
- Dialog Windows → imported when needed
Example import:
from assets.scripts.<page>.<window> import <WindowClass>