Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: Region
Wraps FXGL's MDIWindow, a lightweight non-native child window intended to sit inside the main game scene. Provides title, resizable / movable behavior, and a content pane.
MDIWindow (string Title = "Untitled")
Creates a new MDIWindow with the given title.
Title is the window title.setTitle (string Title)
Sets the window title.
Title is the new title.this objectsetPrefSize (double Width, double Height)
Sets the window preferred size.
Width is the preferred width.Height is the preferred height.this objectgetTitle ()
Returns the current title.
A string.getContentPane ()
Returns the inner content Pane that holds the window content.
An AussomJavaObject around a JavaFX Pane.setContentPane (object PaneObj)
Replaces the inner content Pane with the supplied Pane. Required for any content to appear in the window beyond the title bar.
PaneObj is a fx.Pane wrapper.this objectsetManuallyResizable (bool Resizable)
Sets whether the user can resize the window by dragging.
Resizable is a bool.this objectisManuallyResizable ()
Returns whether the user can resize the window.
A bool.setMovable (bool Movable)
Sets whether the user can drag the window around.
Movable is a bool.this objectisMovable ()
Returns whether the window can be moved.
A bool.setMinimizable (bool Minimizable)
Sets whether the minimize button is shown.
Minimizable is a bool.this objectisMinimizable ()
Returns whether the minimize button is shown.
A bool.setCloseable (bool Closeable)
Sets whether the close button is shown.
Closeable is a bool.this objectisCloseable ()
Returns whether the close button is shown.
A bool.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.