Skip to content

UI.Checkbox

Name Mandatory Description Default Type
⬅️ Input The value is ignored. None
Output ➡️ Indicates whether the checkbox state changed during this frame. Bool
Label No The text label of this checkbox. none StringNone
Variable No The variable that holds the input value. none BoolVar(Bool)None
Style No The text style. none {Any}Var({Any})

Boolean on/off widget with text label.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
@wire(ui-wire {
  UI.CentralPanel(
    UI.Checkbox(
      Label: "Checked"
      Style: {color: @color(255 0 255) italics: true}
      Variable: checked
    )
  )
} Looped: true)

{ui-behavior: ui-wire}


 

1
2
3
4
5
6
7
8
@wire(ui-wire {
  UI.CentralPanel(
    UI.Checkbox(
      Label: "Checked"
      Variable: checked
    )
  )
} Looped: true)