NEOLearn

Window examples

The engine's window examples: what each one shows, whether it runs in a browser and the command that runs it.

Updated October 20, 2026

On this page

Window settings, multiple windows, cursors, transparency, scale factors and screenshots. There are 11 examples on this page. For the concepts behind them, see Windows.

Run any of them from the engine core's workspace (the folder of the engine source that holds the neo crate's Cargo.toml); see Run an example.

Examples#

ExampleWhat it showsWebRun
Clear ColorCreates a solid color windowYescargo run --example clear_color
Custom Cursor ImageDemonstrates creating an animated custom cursor from an imageYescargo run --example custom_cursor_image --features custom_cursor
Low PowerDemonstrates settings to reduce power use for neo applicationsYescargo run --example low_power
Monitor infoDisplays information about available monitors (displays).Nocargo run --example monitor_info
Multiple WindowsDemonstrates creating multiple windows, and rendering to themNocargo run --example multiple_windows
Scale Factor OverrideIllustrates how to customize the default window settingsYescargo run --example scale_factor_override
ScreenshotShows how to save screenshots to diskYescargo run --example screenshot
Transparent WindowIllustrates making the window transparent and hiding the window decorationNocargo run --example transparent_window
Window Drag MoveDemonstrates drag move and drag resize without window decorationNocargo run --example window_drag_move
Window ResizingDemonstrates resizing and responding to resizing a windowYescargo run --example window_resizing
Window SettingsDemonstrates customizing default window settingsYescargo run --example window_settings

See also#