cnmcdee cf6995fcc0 Phase 1 R2: widget setters for Inspector live-apply
Widget trait gains default no-op setters set_password,
set_show_password, set_cursor_visible, set_direction,
set_page_increment, set_page_size, set_multi_select and set_items.
EntryWidget: show_password + cursor_visible (mask only when
password && !show_password; caret gated on cursor_visible).
ButtonWidget: direction (0=Up 1=Down 2=Left 3=Right 4=None) with a
MenuButton arrow triangle on the side the popup opens toward.
RangeWidget: page_size (25.0) + page_increment (10.0) with
PgUp/PgDn key handling. ListSelWidget: set_items (replace items,
clamp selection) + set_multi_select override. draw.rs gains
draw_triangle_left (mirror of draw_triangle_right).
2026-11-30 06:23:30 +00:00

lightgui_rust — LightGUI ported to Rust

Rust port of LightGUI (HEAD eb0b5fc): an XFrame-native form designer with 547 XFrame widgets. See PORTING_PLAN.md for the survey and module map.

Workspace

Crate C++ source Status
crates/lightgui-core src/model.h, src/props.h, src/events.h, src/project_io.cpp, canonicalize() in src/main.cpp done
crates/lightgui-gen src/generator.cpp / src/generator.h (emits C++/XFrame, byte-identical) done
crates/lightgui-debug src/debugger.cpp / src/debugger.h (GDB/MI) in progress
crates/lightgui-support data extraction (registry, palette, indicators) in progress

probe/ is the step-0 crates.io probe (standalone, excluded from the workspace). data/ / tools/ are generated data + extraction tooling.

Build / test

cargo test    # workspace; rustc/cargo are login-shell-only: use `bash -lc`
cargo build   # must be warning-free (the C++ build was zero-warning)

Rust 1.100.1 stable, GTK 3.24 (gtk-rs 0.18), serde/serde_json 1.0.

S
Description
No description provided
Readme
2.4 MiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 92.6%
Python 6.6%
Shell 0.5%
C++ 0.2%
Makefile 0.1%