enable.scrolled module¶
-
class
enable.scrolled.
Scrolled
(component, **traits)[source]¶ Bases:
enable.container.Container
A Scrolled acts like a viewport with scrollbars for positioning the view position. Rather than subclassing from viewport, it delegates to one.
-
freeze_scroll_bounds
()[source]¶ Prevents the scroll bounds on the scrollbar from updating until unfreeze_scroll_bounds() is called. This is useful on components with view-dependent bounds; when the user is interacting with the scrollbar or the viewport, this prevents the scrollbar from resizing underneath them.
-