GtkPasswordEntry

A password text entry.

Preview

CSS Node Tree

entry.password
  ├── text
  ├── image.caps-lock-indicator
  └── image (peek icon)

Props

Prop

Type

Behavior

  • With showPeekIcon, a toggle icon reveals/hides the password. Turning showPeekIcon off hides it again.
  • A caps-lock indicator icon shows when Caps Lock is active and the entry is focused, editable and its text hidden.
  • With activatesDefault, Enter also activates the dialog's or window's default (.default) button.

GTK4 Documentation →

On this page