GtkSearchEntry
A text entry with search functionality.
entry.search
├── image (search icon, left)
├── text
└── image (clear icon, right)
- Enter — fires
onActivate
- Escape — fires
onStopSearch (and hides a surrounding GtkSearchBar)
- Ctrl+G (⌘G on macOS) — fires
onNextMatch
- Ctrl+Shift+G (⇧⌘G on macOS) — fires
onPreviousMatch
Emptying the entry fires onSearchChanged("") at once; other changes wait searchDelay ms. The clear icon empties it through onChanged.
GTK4 Documentation →