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
let button = |
  #on_press: fn(e: null) -> Any = |_| null,
  #width: &Length = &`Shrink,
  #height: &Length = &`Shrink,
  #padding: &Padding = &`All(5.0),
  #disabled: &bool = &false,
  child: &Widget
| -> Widget `Button({ child, on_press: &on_press, width, height, padding, disabled })