Tooltip for labels, entries, buttons and more
A simple tooltip for tkinter widgets.
Installation
pip install tooltip
Usage
ToolTip(widget, text='Widget info', justify='left', width=None, background=None, foreground=None):
Example
import tkinter as tk
from tooltip import ToolTip
root = tk.Tk()
button = tk.Button(root, text='Button')
button.pack(pady=20)
ToolTip(button, text='This is a button and you can describe it here. You can also add a lot of text to see how it will appear and even use bright colors', width=50, justify='center', background='yellow', foreground='blue')
label = tk.Label(root, text='Label')
label.pack(pady=20)
ToolTip(label, 'Descriptions can be discreet too')
root.mainloop()
Authors
- Guilherme Saldanha - guisaldanha - guisaldanha.com
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for tooltip 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tooltip-1.0.0.tar.gz | 3.2 kB | Without provenance | Details for tooltip-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tooltip-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for tooltip-1.0.0-py3-none-any.whl |
Total release size: 6.8 kB
Release files / tooltip-1.0.0.tar.gz
| Download URL | tooltip-1.0.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c8e04c3550f852e598dc2178784116107f3de6f8fce171f3b9d43af2551c0cc
|
|
BLAKE2b-256 checksum How to use checksums |
f3e57f2a59d5a9901092af30efab32379ba5e0508786063e7307df384688f086
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.0
|
Release files / tooltip-1.0.0-py3-none-any.whl
| Download URL | tooltip-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ff346484fcdfea4ada0b3c87dbee2bc2614dad20d7710d9d16fe411ded60ace
|
|
BLAKE2b-256 checksum How to use checksums |
03dff6329dcaa417b01edb3d8de6666cd8e258e40eb01f5b59d3a731e8c8041d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.0
|
Security for tooltip 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.