mirror of
https://github.com/aclist/dztui.git
synced 2026-08-29 03:06:56 +02:00
chore: add custom ScrolledWindow class
This commit is contained in:
parent
c95ad53f6f
commit
c45678ca88
11
dzgui/views/components/scrollable.py
Normal file
11
dzgui/views/components/scrollable.py
Normal file
@ -0,0 +1,11 @@
|
||||
from dzgui.util import css
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk # noqa
|
||||
|
||||
|
||||
class NoOverlayScrolledWindow(Gtk.ScrolledWindow):
|
||||
def __init__(self) -> None:
|
||||
super().__init__(overlay_scrolling=False)
|
||||
Loading…
Reference in New Issue
Block a user