Package: gtk

Callback gtk-entry-completion-match-func

Details

A callback 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 the g_utf8_normalize() and g_utf8_casefold() functions. If this is not appropriate, match functions have access to the unmodified key via the (gtk-entry-text (gtk-entry-completion-entry completion)) call.
 lambda (completion key iter)  
completion
A gtk-entry-completion object.
key
A string to match, normalized and case-folded.
iter
A gtk-tree-iter iterator indicating the row to match.
Returns
True if iter should be displayed as a possible completion for key.
 

See also

2021-10-26