aa019fa3bc0732d2055d31af3d1fdce666e76d17
The C++ GtkInvisible::draw() intentionally does nothing, not even a design-time glyph, and all its event handlers return false. The Rust DisplayWidget drew its 16x16 icon + label text for it, so the layout script test CHECKDRAW BLANK-EXPECTED failed (67 non-white px in a 10x10 rect). Special-case kind == Invisible in draw/press/release/key. Found by the layout script test after the real-widget swap.
lightgui_rust — LightGUI ported to Rust
Rust port of LightGUI
(HEAD eb0b5fc): a C++/GTK 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++/GTK, byte-identical) |
in progress |
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.
Languages
Rust
92.6%
Python
6.6%
Shell
0.5%
C++
0.2%
Makefile
0.1%