SpinRow

@Composable
fun SpinRow(value: Double, title: String, modifier: Modifier = Modifier, onActivate: () -> Unit = {}, onValueChange: (Double) -> Unit = {}, lower: Double = 0.0, upper: Double = 0.0, stepIncrement: Double = 0.0, pageIncrement: Double = 0.0, climbRate: Double = 0.0, digits: Int = 0, numeric: Boolean = false, activatable: Boolean = true, titleSelectable: Boolean = false, useMarkup: Boolean = true, useUnderline: Boolean = false, subtitle: String? = null, subtitleLines: Int = 0, subtitleSelectable: Boolean = false, titleLines: Int = 0)

Creates a org.gnome.adw.SpinRow that displays numeric values

org.gnome.adw.SpinRow is a child of org.gnome.adw.ActionRow and org.gnome.adw.PreferencesRow which are usually used for preferences/settings inside and application.

Parameters

value

Number displayed in the component.

title

The title for this row.

modifier

Compose Modifier for layout and styling.

onActivate

Callback triggered when the component is activated (pressing "enter").

onValueChange

Callback triggered when the value changes.

lower

Minimum allowed value.

upper

Maximum allowed value.

stepIncrement

How much the value increments or decrements by when using the buttons or the arrow keys.

pageIncrement

How much the value increments or decrements by when using "PageUp" or "PageDown".

climbRate

The acceleration rate when holding down an arrow button or key.

digits

The number of decimal places to display.

numeric

Whether non-numeric characters are ignored.

activatable

Whether the component can be activated.

titleSelectable

Whether the title is selectable.

useMarkup

Whether to use Pango markup for the title and subtitle.

useUnderline

Whether an embedded underline in the title or subtitle indicates a mnemonic.

subtitle

The subtitle for this row.

subtitleLines

The number of lines at the end of which the subtitle label will be ellipsized.

subtitleSelectable

Whether the subtitle is selectable.

titleLines

The number of lines at the end of which the title label will be ellipsized.