Scenario 1 of 7 / 6 illustrated steps

Build Your First Form

Start with a blank project. Create a real Rust GUI visually.

Create a project, place a widget, edit its properties, and inspect the Rust it generates.

In this scenario 6 steps · jump to a capture

Select any screenshot to enlarge it. Use ← / → to move between captures, Esc to close, and 100% to inspect original detail.

01

Create an empty project

The New Program dialog starts a project with an empty form and a single language. The annotated sequence identifies the project setup and the Create action.

Why it matters A small starting point makes the first design easy to understand.

New Program dialog with Empty form and Single language selected.
01.01 · Create an empty project
02

Choose a widget. Place it on the form.

The new project opens on a blank designer canvas. Select a widget from the Toolbox, then click the place where it should appear.

Why it matters Visual placement turns an empty form into a concrete interface.

Empty form beside the Toolbox, with arrows showing widget selection and placement.
01.02 · Choose a widget. Place it on the form.
03

Set the position and size

A Button is now on the form. The Inspector shows its name, position, width, and height; the screenshot highlights the layout fields.

Why it matters Property editing gives precise control over the visual design.

Button selected on the form with position and size fields in the Inspector.
01.03 · Set the position and size
04

Give the button its caption

The Button text is set to “Say Hello”. The designer immediately shows the new caption, alongside the same value in the Inspector.

Why it matters The property and its visible result can be checked together.

Say Hello button and its text property displayed in the Inspector.
01.04 · Give the button its caption
05

Inspect the generated Rust

View → Code View opens a read-only preview of the generated form source. The Source File Explorer identifies generated_main_form.rs alongside the project’s other files.

Why it matters The visual form has an inspectable Rust implementation.

Code View showing generated_main_form.rs for the first form.
01.05 · Inspect the generated Rust
06

Save, close, and reopen

The reopened project still contains the Button and its “Say Hello” caption. Selecting the saved Button shows the retained text in the Inspector.

Why it matters The saved design remains available for the next editing session.

Reopened project with the saved Say Hello button selected.
01.06 · Save, close, and reopen

← Back to Home