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
let toggler = |
  #label: &string = &"",
  #on_toggle: fn(b: bool) -> Any = |_| null,
  #width: &Length = &`Shrink,
  #size: &[f64, null] = &null,
  #spacing: &[f64, null] = &null,
  #disabled: &bool = &false,
  is_toggled: &bool
| -> Widget `Toggler({ is_toggled, label, on_toggle: &on_toggle, size, spacing, width, disabled })