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.1.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.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tkscrollframe-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e5e3a7d065a99d877246b93891a0674caf8d5c4dc7fae99efb1c44240ec0d5e3
MD5 85bddfb854b10f0c07ce3a5da5010581
BLAKE2b-256 93fd843ede14f901e5a4bb51ba5cfde0961dd02354296f0d058c74fbe5f568ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tkscrollframe-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c22f020f825a5939d7beb62ce96aae892a09c1ce66b6777fe376e25bbfa35af
MD5 d87723ac01a1f54604fcacd6b6000c6f
BLAKE2b-256 54e12deffcd05aaf6190e509e8669081ffe30cbcaa226507f5a6f54970bf28ae

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