ShortcutLabel

@Composable
fun ShortcutLabel(accelerator: String, disabledText: String, modifier: Modifier = Modifier)

Creates a org.gnome.adw.ShortcutLabel to display keyboard shortcuts.

Parameters

accelerator

The keys that activates the shortcut.

disabledText

Text displayed when the shortcut is disabled.

modifier

Compose Modifier for layout and styling.