ButtonRow

@Composable
fun ButtonRow(title: String, modifier: Modifier = Modifier, titleSelectable: Boolean = false, useMarkup: Boolean = true, useUnderline: Boolean = false, endIcon: ImageSource.Icon? = null, startIcon: ImageSource.Icon? = null, onActivate: () -> Unit = {})

Creates a org.gnome.adw.ButtonRow, a list box row that looks like a button and triggers a callback when clicked.

org.gnome.adw.ButtonRow is a child of org.gnome.adw.PreferencesRow which is usually used for preferences/settings inside an application.

Parameters

title

The text shown in the button.

titleSelectable

Whether the title can be selected.

useMarkup

Whether to use Pango markup for the title.

useUnderline

Whether an embedded underline in the title indicates a mnemonic.

endIcon

The icon shown after the title.

startIcon

The icon shown before the title.

onActivate

Callback triggered when the button is activated.