You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/textual/app.py
+24-1Lines changed: 24 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -493,7 +493,7 @@ class MyApp(App[None]):
493
493
494
494
A breakpoint consists of a tuple containing the minimum width where the class should applied, and the name of the class to set.
495
495
496
-
Note that only one class name is set, and if you should avoid having more than one breakpoint set for the same size.
496
+
Note that only one class name is set, and you should avoid having more than one breakpoint set for the same size.
497
497
498
498
Example:
499
499
```python
@@ -510,6 +510,10 @@ class MyApp(App[None]):
510
510
Contents are the same as [`HORIZONTAL_BREAKPOINTS`][textual.app.App.HORIZONTAL_BREAKPOINTS], but the integer is compared to the height, rather than the width.
511
511
"""
512
512
513
+
# TODO: Enable by default after suitable testing period
514
+
PAUSE_GC_ON_SCROLL: ClassVar[bool] =False
515
+
"""Pause Python GC (Garbage Collection) when scrolling, for potentially smoother scrolling with many widgets (experimental)."""
0 commit comments