Insert a Combobox into your GUI that allows suggestions based on what the user writes in
Project description
AutoCombobox
AutoCombobox is a ttk widget based on the existing Combobox. It allows the user to write on the Entry field, viewing at the same time the options that the Combobox suggest based on what the user writes.
Installation
AutoCombobox can be installed from PyPI: pip install autocombobox
.
It doesn't have any dependences other than tkinter.
Usage
AutoCombobox was created specifically to be used like the normal ttk Combobox, so all its options are available.
Beside that, it can accept the simil_func
option, that allows the developer to pass the function that determines the suggestions. The function must take 2 parameters: the first represent the text written on the Entry, and the second represent a possible value of the Combobox; the function then must returns a boolean value, which indicates whetever the option passed as the second parameter will be included in the suggestions or not.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file autocombobox-1.1.0.tar.gz
.
File metadata
- Download URL: autocombobox-1.1.0.tar.gz
- Upload date:
- Size: 42.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3394bdd9803a09725d52dcf0d4e52091a1cb0c484af1a4d46fe59717aa6699d |
|
MD5 | e045aa67603e7367770c7e6a65e28411 |
|
BLAKE2b-256 | e4d292221cf365f5967d5c71cc72199d9487ec2b4d5527149a13fc05a971ee3f |
File details
Details for the file autocombobox-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: autocombobox-1.1.0-py3-none-any.whl
- Upload date:
- Size: 29.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df8cdafb4afd4a670e9a113306ff2a23785412aa3b13436fe3f34bf6e426e673 |
|
MD5 | 4272530d902fcc104d84415c286f074b |
|
BLAKE2b-256 | 8f8397f55ba7784883ab18a326adc108fa7ef747bf09207bf7f891f461e7de06 |