Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 05ca8b8b9e73f1190d47b131f34efb15606a73905164bca99887036f502e85e8
Ticket: de501f5d32eb47e0af17faccc25b89563f6a45da
combobox autocomplete in readonly mode
User & Date: anonymous on 2022-01-29 10:30:27
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Using combobox like this (python):
    g1 = ttk.Combobox(site_frame, values=guards, width=15)
    g1.state(["readonly"])
    
    the guards list could be long. I want the user to be able to click on the combobox, then type first letter and let the user jump to entry in the values. Note I want this for readonly combobox so the user cannot entry arbitrary value, the user must choose from the list, but the keypress lets them jump to the values quickly without having to scroll a long list of values.
    
    similar feature mentioned here: https://mail.python.org/pipermail/tkinter-discuss/2012-January/003041.html (this one might not be a readonly combobox though)
    
    would be nice if this feature was built into ttk combobox natively.
    
    thanks in advance.
    
  5. is_private changed to: "0"
  6. login: "anonymous"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "9abd4fc041091c9912ceb5dcf18e403638eeb1b4"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "anonymous"
  13. subsystem changed to: "None"
  14. title changed to: "combobox autocomplete in readonly mode"
  15. type changed to: "RFE"