45b36e89ef8c333d595cacabd2d5464a3d95b473
A Phase 4 block before the generic branches routes a Stock/Inst widget's own table props through the named dispatch (pairs together from the model: y-min/y-max -> set_y_range, anchor-N-bar/price -> set_anchor, grid-rows/cols -> set_grid_size; singletons by table kind; Str "value" -> set_value_str so Seg displays are not parsed as f64). minimum/maximum, Double "value" and "position" are deliberately not intercepted -- the existing set_range / set_value / set_position branches already apply them. Props the archetype does not implement stay model-only (the model holds them; the generator emits them).
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.
Languages
Rust
92.6%
Python
6.6%
Shell
0.5%
C++
0.2%
Makefile
0.1%