Skip to content

UI.IntInput

Name Mandatory Description Default Type
⬅️ Input The value is ignored. None
Output ➡️ The value produced. Int
Variable No The variable that holds the input value. none IntVar(Int)
Prefix No Display a prefix before the number. none StringNone

A numeric input.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
@wire(ui-wire {
  UI.Window(
    Title: "UI Int input"
    Position: @f2(0 0)
    Anchor: Anchor::Center
    Width: 700
    Height: 400
    Contents: {
      UI.IntInput(
      Variable: int)
      ExpectInt
    }
  )
} Looped: true)

{ui-behavior: ui-wire}