GtkEntry

A single-line text input widget.

Preview

CSS Node Tree

entry[.flat]
  ├── image.left (primary icon)
  ├── text
  ├── image.right (secondary icon)
  └── progress > trough > progress (optional)

Props

Prop

Type

Style Classes

ClassEffect
.flatNo visible frame (same as hasFrame={false})
.errorRed text and background, for invalid input
.warningYellow text and background

GTK4 Documentation →

On this page