graphix-package-gui 0.8.0

A dataflow language for UIs and network programming, GUI package
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
type Scrollable = {
  child: &Widget,
  direction: &ScrollDirection,
  on_scroll: &fn(pos: {x: f64, y: f64}) -> Any,
  width: &Length,
  height: &Length
};

val scrollable: fn(
  ?#direction: &ScrollDirection,
  ?#on_scroll: fn(pos: {x: f64, y: f64}) -> Any,
  ?#width: &Length,
  ?#height: &Length,
  child: &Widget
) -> Widget