Preparing search index...

    Built-in interface for GUI operations in plugins.

        // Gui is the concrete implementation of IGui.
    // Access via pluginSystem.findInterface(IGui.interfaceId).
    // Provides createDialog(), createWidget(), dialogs, and workspaces.
    const gui = this.pluginSystem.findInterface(IGui.interfaceId) as IGui;
    console.log('IGui available:', !Editor.isNull(gui));

    const dialog = gui.createDialog();
    dialog.windowTitle = 'Created via Gui';
    dialog.resize(300, 150);
    console.log('Dialog created:', !Editor.isNull(dialog));

    const widget = gui.createWidget();
    console.log('Widget created:', !Editor.isNull(widget));

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    dialogs: IDialogs

    Manager for all open dialogs.

    interfaceId: InterfaceId

    Interface identifier for IGui.

    workspaces: IWorkspaceManager

    Manager for workspace layouts and panels.

    Methods

    • Returns the name of this object's type.

      Returns string

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object refers to the same instance as the given object.

      Parameters

      Returns boolean