Back to Serenity

SpinBox

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

latest654 B
Original Source

Name

GML Spin Box Widget

Description

Defines a GUI spin box widget. This is a number input with buttons to increment and decrement the value.

Synopsis

@GUI::SpinBox

Examples

gml
@GUI::SpinBox {
    name: "thickness_spinbox"
    min: 0
    max: 2
}

Registered Properties

PropertyTypePossible valuesDescription
minintAny 64 bit integerMinimum number the spin box can increment to
maxintAny 64 bit integerMaximum number the spin box can increment to