Package ch.bailu.gtk.gtk
Interface EntryCompletion.OnMatchSelected
- Enclosing class:
- EntryCompletion
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onMatchSelected
(TreeModel model, TreeIter iter) Emitted when a match from the list is selected.
-
Method Details
-
onMatchSelected
Emitted when a match from the list is selected.
The default behaviour is to replace the contents of the
entry with the contents of the text column in the row
pointed to by @iter.
Note that @model is the model that was passed to
[method@Gtk.EntryCompletion.set_model].- Parameters:
model
- the `GtkTreeModel` containing the matchesiter
- a `GtkTreeIter` positioned at the selected match- Returns:
- %TRUE if the signal has been handled
-