graphix-package-gui 0.9.0

A dataflow language for UIs and network programming, GUI package
Documentation
1
2
3
4
5
6
7
let scrollable = |
  #direction: &ScrollDirection = &`Vertical,
  #on_scroll: fn(pos: {x: f64, y: f64}) -> Any = |_| null,
  #width: &Length = &`Fill,
  #height: &Length = &`Fill,
  child: &Widget
| -> Widget `Scrollable({ child, direction, on_scroll: &on_scroll, width, height })