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
let pick_list = |
  #selected: &[string, null] = &null,
  #on_select: fn(s: string) -> Any = |_| null,
  #placeholder: &string = &"Choose...",
  #width: &Length = &`Shrink,
  #padding: &Padding = &`All(5.0),
  #disabled: &bool = &false,
  options: &Array<string>
| -> Widget `PickList({ on_select: &on_select, options, selected, placeholder, width, padding, disabled })