S or /

SourceClass ScrollSource

from egui import ScrollSource
class ScrollSource:

What is the source of scrolling for a ScrollArea.

Constants§

ALL: Final[ScrollSource]§
DRAG: Final[ScrollSource]§
MOUSE_WHEEL: Final[ScrollSource]§
NONE: Final[ScrollSource]§
SCROLL_BAR: Final[ScrollSource]§

Properties§

@property def drag(self, /) -> DragScroll§
@drag.setter def drag(self, /, drag: DragScroll) -> None§
@property def mouse_wheel(self, /) -> bool§
@mouse_wheel.setter def mouse_wheel(self, /, mouse_wheel: bool) -> None§
@property def scroll_bar(self, /) -> bool§
@scroll_bar.setter def scroll_bar(self, /, scroll_bar: bool) -> None§

Methods§

Sourcedef any(self, /) -> bool§

Is anything enabled?

@staticmethod def default() -> ScrollSource§
Sourcedef is_all(self, /) -> bool§

Is everything enabled?

Sourcedef is_none(self, /) -> bool§

Is everything disabled?