grapa.frontend.widgets_custom.FrameScrollable
- class grapa.frontend.widgets_custom.FrameScrollable(parent, **kwargs)
Bases:
FrameA Frame with a vertical scrollbar on the right Widgets must be placed into .child Special methods: - update_idletasks()
- __init__(parent, **kwargs)
Construct a frame widget with the parent MASTER.
Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.
Methods
__init__(parent, **kwargs)Construct a frame widget with the parent MASTER.
on_configure(_event)Called when the child frame is configured.
on_mousewheel(event)Scroll vertically the canvas with the mouse wheel.
scrolly(*args)Scroll vertically the canvas.
update_idletasks([_event])Updates the child Frame and resizes the canvas accordingly.
- on_configure(_event)
Called when the child frame is configured. Updates the scrollregion of the canvas.
- on_mousewheel(event)
Scroll vertically the canvas with the mouse wheel.
- scrolly(*args)
Scroll vertically the canvas.
- update_idletasks(_event=None)
Updates the child Frame and resizes the canvas accordingly. Normally handled by event self.child <Configure>