Skip to main content

tkinter frame width auto vertical scrollbar

Project description

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')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tkscrollframe-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tkscrollframe-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file tkscrollframe-0.1.0.tar.gz.

File metadata

  • Download URL: tkscrollframe-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for tkscrollframe-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e08a07173d7b07be871a5b158d50b52d50f03e46c03d9cf93521089282957787
MD5 1cbc6421c82019a9cda3d7a84c1189fb
BLAKE2b-256 a6d3e1d2666e3e974817d1a8f9374ff30b1cc330b139c7c584de46b9bd86eb57

See more details on using hashes here.

File details

Details for the file tkscrollframe-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tkscrollframe-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for tkscrollframe-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30be5af599c77db40036c2072e4ae7bcf4eada5e31a8cf1c1daa033565dc8c10
MD5 9c653499bd2c02346312979ed5a320fb
BLAKE2b-256 c0049c211dfe6e0d0be20eb15744a5cbe1bca313f122473dc47f7b38ce47f088

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page