EditableLabel

@Composable
fun EditableLabel(text: String, onTextChange: (String) -> Unit, modifier: Modifier = Modifier, editable: Boolean = true, alignment: Float = 0.0f, enableUndo: Boolean = true, maxWidthChars: Int = -1, widthChars: Int = -1)

Creates a org.gnome.gtk.EditableLabel to display an editable label.

Parameters

text

The text in the entry.

onTextChange

Callback triggered when the text is changed.

modifier

Compose Modifier for layout and styling.

editable

Whether the text can be edited.

alignment

The alignment for the contents of the entry.

enableUndo

Whether changes to this entry will be saved for undo/redo actions.

maxWidthChars

The desired maximum width of the entry, in characters.

widthChars

Number of characters to leave space for in the entry.