navigate.view.custom_widgets.scrollbars.ScrolledFrame
- class navigate.view.custom_widgets.scrollbars.ScrolledFrame(parent, *args, **kw)
Bases:
FrameA scrollable frame implemented in tkinter.
- __init__(parent, *args, **kw)
Initialize the ScrolledFrame.
- Parameters:
root (Tk top-level widget) – Tkinter GUI instance to which this ScrolledFrame belongs.
*args – Additional arguments to pass to the ttk.Frame constructor.
**kw – Additional keyword arguments to pass to the ttk.Frame constructor.
Methods
__init__(parent, *args, **kw)Initialize the ScrolledFrame.
mouse_wheel(event)Handle the mouse wheel event for scrolling.
resize(width, height)Attributes
- mouse_wheel(event)
Handle the mouse wheel event for scrolling.
- Parameters:
event (Tkinter Event) – The mouse wheel event.
- resize(width, height)
- unbind_autosize()
- canvas
The canvas object for the ScrolledFrame.
- Type:
tk.Canvas