Skip to content

Windows and Dialogs

Lasha Kandelaki edited this page May 7, 2026 · 1 revision

Windows and Dialogs

Pages are built from windows. A window can be the main entry point or a dialog.

Structure

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).


Add a Dialog

Ctrl+M or Window → Add Dialog

Creates a new Dialog Window inside the current page.


Switch between windows

Window → All Windows

Lists all windows in the current page. Click to switch the active window.


Window properties

Right-click empty canvas → Window/Dialog Properties

Opens settings for the current window (geometry, behaviour, grid, snapping, colors).

See also: Window Properties


Rename a window

When renaming a window:

  • the class name updates
  • the behavior file updates
    assets/scripts/<page>/<window>.py

UI logic and code content remain unchanged.


Delete a window

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>/

Export

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>

See also

Pages · Window Properties · Event Handlers · Exporting Code

Clone this wiki locally