Back to Serenity

NumericInput

Base/usr/share/man/man5/GML/Widget/NumericInput.md

latest684 B
Original Source

Name

GML Numeric Input Widget

Description

Defines a GUI text box that only allows integers within a specified range.

Synopsis

@GUI::NumericInput

Examples

gml
@GUI::NumericInput {
    min: 0
    value: 42
    max: 9000
}

Registered Properties

PropertyTypePossible valuesDescription
minintAny 64 bit integerMinimum number the input can be set to
maxintAny 64 bit integerMaximum number the input can be set to
valueintAny 64 bit integerInitial value