Skip to content

Instantly share code, notes, and snippets.

View RomneyDa's full-sized avatar

Dallin Romney RomneyDa

View GitHub Profile
@RomneyDa
RomneyDa / ScrollableFrame_with_example.py
Last active April 13, 2020 08:46
A simple but robust scrollable frame widget for tkinter. Vertical and horizontal scrollbars appear and disappear automatically. Scroll wheel support included. Adjustable scroll sensitivity with scroll_sensitivity attribute (1-10). Widgets should be added to the "frame" attribute of this object. Frame options supported!
"""
Created on Sun Apr 12 19:16:07 2020
Copyright 2020 Dallin Romney
License: CC BY 4.0
"""
import tkinter as tk
class ScrollableFrame(tk.Frame):