graphix-package-gui 0.8.0

A dataflow language for UIs and network programming, GUI package
Documentation
type Toggler = {
  disabled: &bool,
  is_toggled: &bool,
  label: &string,
  on_toggle: &fn(b: bool) -> Any,
  width: &Length,
  size: &[f64, null],
  spacing: &[f64, null]
};

val toggler: fn(
  ?#label: &string,
  ?#on_toggle: fn(b: bool) -> Any,
  ?#width: &Length,
  ?#size: &[f64, null],
  ?#spacing: &[f64, null],
  ?#disabled: &bool,
  is_toggled: &bool
) -> Widget