1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 12:54:58 +00:00
serenity/Base/usr/share/man/man5/GML/Widget/NumericInput.md
Sam Atkins 340936ad09 Base: Document NumericInput properties
I forgot to do this when I added them.
2024-01-11 11:36:27 +00:00

690 B

Name

GML Numeric Input Widget

Description

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

Synopsis

@GUI::NumericInput

Examples

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

Registered Properties

Property Type Possible values Description
min int Any 64 bit integer Minimum number the input can be set to
max int Any 64 bit integer Maximum number the input can be set to
value int Any 64 bit integer Initial value