Skip to main content

Insert a ttk-Combobox into your GUI that allows suggestions based on what the user writes

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autocombobox-1.0.2.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

autocombobox-1.0.2-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file autocombobox-1.0.2.tar.gz.

File metadata

  • Download URL: autocombobox-1.0.2.tar.gz
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for autocombobox-1.0.2.tar.gz
Algorithm Hash digest
SHA256 aedb9499e524310c72791eed88edff37e6af21ba1ef5f79446bd52fd1696abf5
MD5 ddd94b5a8d3de8260f0ed771e2573f76
BLAKE2b-256 04d32acb625c78ce3665a99689c42e6220eb2fcf8b2c4c12e64f4e043c28e693

See more details on using hashes here.

File details

Details for the file autocombobox-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for autocombobox-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8e31ef1f185781490427e0658d21795333666f132ae0feab62705bdc2f157041
MD5 5646be332d496883b646b8f555ed0ccf
BLAKE2b-256 c7a4b92ade1cd8f41e2b0076d892fe7d66eb824a20cd84fb1945b26df07055fb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page