Uma descrição do seu pacote
Project description
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.
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
tooltip-1.0.0.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tooltip-1.0.0.tar.gz.
File metadata
- Download URL: tooltip-1.0.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c8e04c3550f852e598dc2178784116107f3de6f8fce171f3b9d43af2551c0cc
|
|
| MD5 |
037c1f200d646a7623d567b42b27d78e
|
|
| BLAKE2b-256 |
f3e57f2a59d5a9901092af30efab32379ba5e0508786063e7307df384688f086
|
File details
Details for the file tooltip-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tooltip-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ff346484fcdfea4ada0b3c87dbee2bc2614dad20d7710d9d16fe411ded60ace
|
|
| MD5 |
e41972ef018e657497fefc7bdf511147
|
|
| BLAKE2b-256 |
03dff6329dcaa417b01edb3d8de6666cd8e258e40eb01f5b59d3a731e8c8041d
|