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
11
12
13
14
15
16
17
type ComboBox = {
  disabled: &bool,
  on_select: &fn(s: string) -> Any,
  options: &Array<string>,
  selected: &[string, null],
  placeholder: &string,
  width: &Length
};

val combo_box: fn(
  ?#selected: &[string, null],
  ?#on_select: fn(s: string) -> Any,
  ?#placeholder: &string,
  ?#width: &Length,
  ?#disabled: &bool,
  options: &Array<string>
) -> Widget