Increment Button

Qubes 5.6 Increments its own value by 1 with each click.

Properties

PropertyDescription
AutoIntervalInterval (in milliseconds) for automatic incrementation (Qubes 5.6).
CaptionString providing a caption for the component.
EnabledBoolean indicating whether or not the component is enabled.
FastTapBoolean indicating whether or not fast tapping is enabled for a button (Qubes6.5).
HintSpecifies the user hint string that will appear in the component's interactive help bubble.
IconString indicating the image to use for an icon (Qubes 5.4).
IconSizeDimensions of your icon, can be written as one or two values, syntax detailed there (Qubes 9.0).
TabIndexInteger indicating the component's tab order (Qubes 5.6).
ValueInitialDetermines the component's initial value when the screen opens and each time it is reset (see Reset Button).
VisibleBoolean indicating whether or not the component will be visible.
ThemeString defining the appearance of the button, uses button styles (Qubes 9.0).

Value

Returns the value of the button. It will initially be ValueInitial, then ValueInitial+1 after the first click on the button, and so on.

Remarks

If you want to decrement, simply subtract the value of an increment button, rather than adding it.
For a non-unit step, simply multiply the value of an increment button.

AutoInterval performs automatic incrementation, similar to a user clicking on the button periodically. This property should mainly be reserved for cases when the screen is used as a display, rather than for input. Short intervals (of around one second or less) should be used with caution.

Note: Button captions are always single-line (so any line breaks are replaced by spaces).

Classification

Standards