MCPcopy
hub / github.com/Textualize/textual / action_scroll_up

Method action_scroll_up

src/textual/scrollbar.py:343–346  ·  view source on GitHub ↗

Scroll vertical scrollbars up, horizontal scrollbars left.

(self)

Source from the content-addressed store, hash-verified

341 self.post_message(ScrollDown() if self.vertical else ScrollRight())
342
343 def action_scroll_up(self) -> None:
344 """Scroll vertical scrollbars up, horizontal scrollbars left."""
345 if not self.grabbed:
346 self.post_message(ScrollUp() if self.vertical else ScrollLeft())
347
348 def action_grab(self) -> None:
349 """Begin capturing the mouse cursor."""

Callers

nothing calls this directly

Calls 3

ScrollUpClass · 0.85
ScrollLeftClass · 0.85
post_messageMethod · 0.45

Tested by

no test coverage detected