lllama / textual-snowfall

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

textual-snowfall

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install textual-snowfall

License

textual-snowfall is distributed under the terms of the MIT license.

Usage

Textual-snowfall is a Textual container widget that'll add snow to your app. Use it as you would use a normal container, or use it as a mixin with other container classes.

For example:

from textual.app import App
from textual.containers import ScrollableContainer

from textual_snowfall.widgets import Snowfall

class SnowScroll(ScrollableContainer, Snowfall):
    pass

class MyApp(App):
    def compose(self):
        yield SnowScroll()

About

License:MIT License


Languages

Language:Python 100.0%