tkscrollframe
tkinter frame widget with auto scroll.
How to install
pip install tkscrollframe
How to use
import tkinter as tk
from tkscrollframe import ScrollFrame
root = tk.Tk()
sf = ScrollFrame(root)
frame = sf.viewPort # is important
# add some widget to frame sf
for i in range(20):
tk.Label(frame, text=f"text in line {i}").pack()
sf.pack()
root.mainloop()
options
if you need scrollbar placed to right sf= ScrollFrame(root, justify='right')
Metadata
Release files for tkscrollframe 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tkscrollframe-0.1.1.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tkscrollframe-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.3 kB
Release files / tkscrollframe-0.1.1.tar.gz
| Download URL | tkscrollframe-0.1.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5e3a7d065a99d877246b93891a0674caf8d5c4dc7fae99efb1c44240ec0d5e3
|
|
BLAKE2b-256 checksum How to use checksums |
93fd843ede14f901e5a4bb51ba5cfde0961dd02354296f0d058c74fbe5f568ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / tkscrollframe-0.1.1-py3-none-any.whl
| Download URL | tkscrollframe-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c22f020f825a5939d7beb62ce96aae892a09c1ce66b6777fe376e25bbfa35af
|
|
BLAKE2b-256 checksum How to use checksums |
54e12deffcd05aaf6190e509e8669081ffe30cbcaa226507f5a6f54970bf28ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|