Popular recipes tagged "combobox"http://code.activestate.com/recipes/tags/combobox/popular/2017-04-03T15:17:26-07:00ActiveState Code RecipesCombobox Autocomplete (Python) 2017-04-03T15:17:26-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580770-combobox-autocomplete/ <p style="color: grey"> Python recipe 580770 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/autocomplete/">autocomplete</a>, <a href="/recipes/tags/combobox/">combobox</a>, <a href="/recipes/tags/entry/">entry</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 11. </p> <p>This is my own version of combobox autocomplete. The user can customize the matching function setting whether he wants to ignore case or whether the matching function should only match from the beginning of the string. The other possibility is to provide your own "auto complete function". The complete function returns all the found strings matching the text in the entry box.</p> <p>It's also possible to customize the height of listbox and whether to use horizontal or vertical scrollbars.</p> <p>Use arrows or Contro+n, Control+p to move selection on listbox.</p> <p>This is a practical application of the combobox widget:</p> <p><a href="https://code.activestate.com/recipes/580771-tkinter-file-autocomplete-entry/" rel="nofollow">https://code.activestate.com/recipes/580771-tkinter-file-autocomplete-entry/</a></p>