Tk Library Source Code

View Ticket
Login
Ticket UUID: 1359041
Title: patch adding -autopost option to ComboBox
Type: Patch Version: None
Submitter: dev_null42a Created on: 2005-11-17 15:41:29
Subsystem: bwidget Assigned To: dev_null42a
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-02-08 23:48:02
Resolution: None Closed By: dev_null42a
    Closed on: 2006-02-08 16:48:02
Description:
I wanted a ComboBox that would automatically post as
soon as the user started typing, and would scroll to
the value that is most similar to the entry's input. 
The following patch adds an "-autopost" boolean
configuration option that performs this behavior. 
Furthermore it handles up and down arrow key events to
let the user instead select an item from the listbox. 
Pressing the escape key while the entry has focus
causes the listbox to unpost.

This patch is against BWidget 1.7.
User Comments: dev_null42a added on 2005-11-17 22:41:32:

File Added - 156643: combobox-patch

Attachments: