graphix-package-gui 0.9.0

A dataflow language for UIs and network programming, GUI package
Documentation
1
2
3
4
5
6
7
8
9
10
let radio = |
  #label: &string,
  #selected: &'a = &null,
  #on_select: fn(v: 'a) -> Any = |_| null,
  #width: &Length = &`Shrink,
  #size: &[f64, null] = &null,
  #spacing: &[f64, null] = &null,
  #disabled: &bool = &false,
  value: &'a
| -> Widget `Radio({ value, label, on_select: &on_select, selected, width, size, spacing, disabled })