tkScrolledFrame is a scrollable frame widget for Python + Tkinter.
Usage
tkScrolledFrame consists of a single module, tkscrolledframe (note the module name is lowercase), which exports a single class, ScrolledFrame.
A brief example program:
#!/usr/bin/env python3
from tkinter import *
from tkscrolledframe import ScrolledFrame
# Create a root window
root = Tk()
# Create a ScrolledFrame widget
sf = ScrolledFrame(root, width=640, height=480)
sf.pack(side="top", expand=1, fill="both")
# Bind the arrow keys and scroll wheel
sf.bind_arrow_keys(root)
sf.bind_scroll_wheel(root)
# Create a frame within the ScrolledFrame
inner_frame = sf.display_widget(Frame)
# Add a bunch of widgets to fill some space
num_rows = 16
num_cols = 16
for row in range(num_rows):
for column in range(num_cols):
w = Label(inner_frame,
width=15,
height=5,
borderwidth=2,
relief="groove",
anchor="center",
justify="center",
text=str(row * num_cols + column))
w.grid(row=row,
column=column,
padx=4,
pady=4)
# Start Tk's event loop
root.mainloop()
For detailed documentation, try python -m pydoc tkscrolledframe.
Metadata
Release files for tkScrolledFrame 1.0.4
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 |
|---|---|---|---|---|
| tkScrolledFrame-1.0.4.tar.gz | 5.1 kB | Without provenance | Details for tkScrolledFrame-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tkScrolledFrame-1.0.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for tkScrolledFrame-1.0.4-py2.py3-none-any.whl |
Total release size: 11.9 kB
Release files / tkScrolledFrame-1.0.4.tar.gz
| Download URL | tkScrolledFrame-1.0.4.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3635e80830e6b4eb3d5209fec0d72baa1fa31567ebcdf0d662c636adeabcb4d1
|
|
BLAKE2b-256 checksum How to use checksums |
199138f771824255a990bb5c89fa9636112c00717bbe50db2aa615315a52d761
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
|
Release files / tkScrolledFrame-1.0.4-py2.py3-none-any.whl
| Download URL | tkScrolledFrame-1.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f706f14df065213862bdb5aa920e1bd29660d06a0653499ef5185a8bc73035c7
|
|
BLAKE2b-256 checksum How to use checksums |
669023d03f2c36a4c47d2adbd518334145ba212f9c25927e4e8f23aa6f8989bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
|
Security for tkScrolledFrame 1.0.4
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.