rust_widgets 2.5.2

Pure Rust cross-platform native GUI library with hardware-adaptive rendering, 180 widgets, touch/gesture support, i18n, and SVG-pipeline-accurate output
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "window": {
    "id": "root",
    "title": "Generated Demo",
    "width": 640,
    "height": 480,
    "layout": {
      "type": "vbox",
      "spacing": 6,
      "children": [
        { "label":  { "id": "heading", "text": "Generated from a project document" } },
        { "button": { "id": "go", "text": "Go", "enabled": false,
                      "events": { "clicked": "on_go" } } },
        { "slider": { "id": "level", "value": 40 } }
      ]
    }
  }
}