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
10
11
let text_editor = |
  #placeholder: &string = &"",
  #on_edit: fn(s: string) -> Any = |_| null,
  #width: &[f64, null] = &null,
  #height: &[f64, null] = &null,
  #padding: &Padding = &`All(5.0),
  #font: &[Font, null] = &null,
  #size: &[f64, null] = &null,
  #disabled: &bool = &false,
  content: &string
| -> Widget `TextEditor({ content, on_edit: &on_edit, placeholder, width, height, padding, font, size, disabled })