EntryCompletionMatchFunc
Description:
[ CCode ( instance_pos = 3.9 ) ]
public delegate bool EntryCompletionMatchFunc (EntryCompletion completion, string key, TreeIter iter)
public delegate bool EntryCompletionMatchFunc (EntryCompletion completion, string key, TreeIter iter)
A function which decides whether the row indicated by iter matches a given key, and should be displayed as a possible
completion for key.
Note that key is normalized and case-folded (see normalize and
casefold). If this is not appropriate, match functions have access to the unmodified
key via `gtk_entry_get_text (GTK_ENTRY (gtk_entry_completion_get_entry ()))`.
Parameters:
| completion |
the EntryCompletion |
| key |
the string to match, normalized and case-folded |
| iter |
a TreeIter indicating the row to match |
| user_data |
user data given to set_match_func |
Returns:
|
true if |
Namespace: Gtk
Package: gtk+-3.0