Back to Serenity

Progressbar

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

latest875 B
Original Source

Name

GML Progress Bar Widget

Description

Defines a GUI progress bar widget.

Synopsis

gml
@GUI::Progressbar

Examples

gml
@GUI::Progressbar {
    fixed_height: 22
    name: "progressbar"
    min: 0
}

Registered Properties

PropertyTypePossible valuesDescription
textstringAny stringSets progress text
formatenumNoText, Percentage, ValueSlashMaxSets the format of the progress indication
minintAny 64 bit integerSets the minimum progress value
maxintAny 64 bit integerSet the maximum progress value