A Sliding Container widget for Textual
Project description
textual-slidecontainer
This is a library that provides a custom container (widget) called the SlideContainer.
It is designed to make it extremely simple to implement a sliding menu bar in yor Textual apps.
Features
- Usage is a single line of code with the default settings. Everything is handled automatically.
- Set the direction - Containers can slide to the left, right, top, or bottom, independently of where they are on the screen.
- Enable or disable Floating mode - With a simple boolean, containers can switch between floating on top of your app, or being a part of it and affecting the layout.
- Set the default state - Containers can be set to start in closed mode.
- Set the container to dock as an initialization argument.
- Floating containers automatically dock to the edge they move towards (this can be changed).
- Change how the animation looks with the duration, fade, and easing_function arguments.
- Included demo application which has comments in the code.
Documentation
Click here for documentation
Questions, issues, suggestions?
Feel free to post an issue.
Gif
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
textual_slidecontainer-0.4.2.tar.gz
(146.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file textual_slidecontainer-0.4.2.tar.gz.
File metadata
- Download URL: textual_slidecontainer-0.4.2.tar.gz
- Upload date:
- Size: 146.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec208feda88a9571fadfdab34bad7d9d589e7fa52d39a45dd0ca52ad639e7b53
|
|
| MD5 |
d88a291d12f58031040803d186c16f24
|
|
| BLAKE2b-256 |
55c01e01083c2d6f9a662de7bee815d069b0afddd3cdfadffe6f308f3e1d12a8
|
File details
Details for the file textual_slidecontainer-0.4.2-py3-none-any.whl.
File metadata
- Download URL: textual_slidecontainer-0.4.2-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eccc20d306a34d85322502a58896608768449808ca94d41679fb7d5d24c9ff9c
|
|
| MD5 |
ea41c550afa46ee4dea15b515db04ca5
|
|
| BLAKE2b-256 |
63c44be776b24591acbcd4b8aa94575fdb3d384c0843f1a49ffd700c3a4000cb
|