GtkEditableLabel

A label that can be edited inline.

Preview

Click to edit

CSS Node Tree

editablelabel[.editing]
  └── stack
      ├── label
      └── text (input, visible when editing)

Props

Prop

Type

Behavior

  • Click the label, or focus it and press Enter, to start editing.
  • Press Enter to commit changes, Escape to cancel. Either returns the focus to the label.
  • Moving the focus out of the widget commits the change after 100ms.

GTK4 Documentation →

On this page