Tkinter Custom Widgets
This package contains custom tkinter widgets that might be useful.
Installation
pip install tkinterwidgets
Widgets
-
Label
Features
- Transparent background
- Control opacity
Usage
tkinterwidgets.Label(master, OPTIONS)Options
- All the options of native
tkinterLabelexceptbg/backgroundsince the background is transparent. opacity- Used to specify the opacity of the contents on a scale of0to1(where0implies transparent and1implies opaque). The default is set to1.transcolor- Used to specify the color to be used to create the transparency effect (you can imagine this as a green screen but of the specified color, make sure that the visible contents of the label do not have this color). The default is set toSystemButtonFace.
Methods
- The following have the same use as that of the corresponding methods in native
tkinterwidgetspackpack_forgetconfig/configuredestroy
Current Limitations / Issues
- Only
packgeometry manager can be used. - Can not be treated as a
windowinCanvas.create_window()orText.window_create()or any similar usage. - Label might move outside the window when resizing past it in some cases.
Sample Code
from tkinter import * import tkinterwidgets as tkw root=Tk() root.config(bg='yellow') label=Label(root,text='Default Label') label.pack() trans_label=tkw.Label(root,text='tkinterwidgets Label',opacity=0.7) trans_label.pack(pady=10) root.mainloop()
Metadata
Release files for tkinterwidgets 0.0.3
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 |
|---|---|---|---|---|
| tkinterwidgets-0.0.3.tar.gz | 3.2 kB | Without provenance | Details for tkinterwidgets-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tkinterwidgets-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for tkinterwidgets-0.0.3-py3-none-any.whl |
Total release size: 7.2 kB
Release files / tkinterwidgets-0.0.3.tar.gz
| Download URL | tkinterwidgets-0.0.3.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45625b6f78ee0fc4f649dbe91ea7faae5179b0d1e46538ad87ab0e033e13ceec
|
|
BLAKE2b-256 checksum How to use checksums |
2556ddc26e8afa4d16cc52b4e42d657d462f8b925ca8145c1894ee618bba21ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / tkinterwidgets-0.0.3-py3-none-any.whl
| Download URL | tkinterwidgets-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67757c00d8d267eafa8918d9e986e83c23478acb8c822e93d75d5caa1f1a942a
|
|
BLAKE2b-256 checksum How to use checksums |
c51c1d5d2a1c9d88577948cd52815dd4ef88e03c90addca1f12b062566a053c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Security for tkinterwidgets 0.0.3
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.