Tkinter Custom Widgets
Project description
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
Can be used in the same manner as the default
Label
oftkinter
, with the following exceptions:- Specifying the parent is a compulsory positional argument.
- Additional optional parameter of
opacity
can be provided to control the opacity of the contents on a scale of0
to1
(where0
implies transparent and1
implies opaque)
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()
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
tkinterwidgets-0.0.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for tkinterwidgets-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d08148167d1fbc47a5c02f931093c5324dd9b133ea203a18bc29d117cd9ea0ed |
|
MD5 | 6b1aa889fffe5c03eb2204b66f2548a6 |
|
BLAKE2b-256 | 64a63ab5ef587e05d46016fbb65acb61a66f208c12ce3e885b1c727993f0c6a9 |