Python 3 Tkinter Autocompletion of Entry TextBox Using AutocompleteEntry Widget GUI Desktop App

Python 3 Tkinter Autocompletion of Entry TextBox Using AutocompleteEntry Widget GUI Desktop App
Python 3 Tkinter Autocompletion of Entry TextBox Using AutocompleteEntry Widget GUI Desktop App

Python 3 Tkinter Autocompletion of Entry TextBox Using AutocompleteEntry Widget GUI Desktop App

# -*- coding: utf-8 -*-

# Copyright (c) Juliette Monsel 2018
# For license see LICENSE

from ttkwidgets.autocomplete import AutocompleteEntry
import tkinter as tk

window = tk.Tk()
tk.Label(window, text="Entry with autocompletion for the Tk instance's methods:").pack(side='left')
entry = AutocompleteEntry(window, width=20, completevalues=dir(window))
entry.pack(side='right')
window.mainloop()
Share on:

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Comment