stopEditing

open fun stopEditing(commit: Boolean)

Switches the label out of “editing mode”.

If @commit is true, the resulting text is kept as the property@Gtk.Editable:text property value, otherwise the resulting text is discarded and the label will keep its previous property@Gtk.Editable:text property value.

Parameters

commit

whether to set the edited text on the label