ProgressBar

@Composable
fun ProgressBar(state: ProgressBarState, modifier: Modifier = Modifier, ellipsize: EllipsizeMode = EllipsizeMode.NONE, inverted: Boolean = false, pulseStep: Double = 0.1, showText: Boolean = false, text: String? = null)

Creates a org.gnome.gtk.ProgressBar that displays the progress of a long-running operation.

Parameters

state

The shared ProgressBarState instance.

modifier

Compose Modifier for layout and styling.

ellipsize

The mode used to ellipsize the text.

inverted

Whether the progress bar is inverted.

pulseStep

The fraction of total progress bar length to move the bouncing block when ProgressBarState.pulse is called.

showText

Whether the progress bar will show text next to the bar.

text

The text showed next to the progress bar.