Reputation: 27
With which widget does IDLE, show a dropdown for autocomplete feature which contains a list of classes, methods, functions, etc. Please view the picture from this link for reference.
Upvotes: 1
Views: 110
Reputation: 19144
IDLE currently uses a tkinter.Listbox
. It is combined with a Scrollbar in a Frame. The up and down keys are bound event handlers. The code is not the best but you can view it in .../Lib/idlelib/autcomplete_w.py
.
Upvotes: 2