Skip to main content

A Sliding Container widget for Textual

Project description

textual-slidecontainer

badge badge badge badge badge

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

textual-slidecontainer

Project details


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.5.0.tar.gz (88.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textual_slidecontainer-0.5.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file textual_slidecontainer-0.5.0.tar.gz.

File metadata

File hashes

Hashes for textual_slidecontainer-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a6bff3c9c28b7814d9c1f887761a12c1b934a44432a4fd2287e6a4ff8eea44f7
MD5 c58ed204555b414108b0c3e4d8ec2d80
BLAKE2b-256 6211ce903564a0af9ce30eef569810222a8b9a64c2238f2494d84f1e829a5081

See more details on using hashes here.

File details

Details for the file textual_slidecontainer-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for textual_slidecontainer-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af60932163e0d5798915b902dd155ac3265b985d224ce80d5dedf1f1a85eb9ce
MD5 fc444620e525378ee1f52e3d2151a84f
BLAKE2b-256 61898edcd3e4a8d202390dd7ce259ba84bad1cca9c243ebb10ca21568e89818d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page