# Method GTK2.FileSelection()->complete()

Method complete

  ``GTK2.FileSelection` complete(`string` `pattern`)`

Description

  Will attempt to match pattern to a valid filename in the current directory. If a match can be made, the matched filename will appear in the text entry field of the file selection dialog. If a partial match can be made, the "Files" list will contain those file names which have been partially matched.