Skip to content

UI.Int4Slider

Name Mandatory Description Default Type
⬅️ Input The value is ignored. None
Output ➡️ The value produced. Int4
Label No The label for this widget. none StringNone
Style No The text style. none {Any}Var({Any})
Variable No The variable that holds the input value. none Int4Var(Int4)
Min No The minimum value. none Int4Var(Int4)
Max No The maximum value. none Int4Var(Int4)

A numeric slider.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
@wire(ui-wire {
  UI.Window(
    Title: "Int 4 Slider"
    Position: @f2(0 0)
    Anchor: Anchor::Center
    Width: 700
    Height: 400
    Contents: {
      UI.Int4Slider(
        Label: "My Label"
        Style: {color: @color(255 128 64) italics: true}
        Variable: int4
        Min: @i4(1) Max: @i4(100)
      )
      ExpectInt4
    }
  )
} Looped: true)

{ui-behavior: ui-wire}