Package: gtk

Function gtk:entry-completion-compute-prefix

Lambda List

gtk:entry-completion-compute-prefix (completion key)

Arguments

completion -- a gtk:entry-completion object
key -- a string with the text to complete for

Return Value

The string with the common prefix all rows starting with key or nil if no row matches key.

Details

Computes the common prefix that is shared by all rows in completion that start with key. If no row matches the key argument, nil will be returned. Note that a text column must have been set for this function to work, see the gtk:entry-completion-text-column function for details.
 

See also

#2024-3-17