Add functions to Textual Layout #940
Unanswered
regional-specter
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi! I'm not quite sure what it is you're asking here, could you perhaps try explaining a slightly different way what it is you're trying to do and what's not working for you? Also, you may want to note that there's a whole new version of Textual being released next Monday (2022-10-24) with lots of new stuff in it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create a define function that would show up in one of the placeholders in the TUI. How would I do that ?
I am Using the incredible Textual Library by @willmcgugan
My Code :
from textual.app import App
from textual.reactive import Reactive
from textual.widgets import Footer, Placeholder
class SmoothApp(App):
"""Demonstrates smooth animation. Press 'b' to see it in action."""
SmoothApp.run(log="textual.log", log_verbosity=2)
Beta Was this translation helpful? Give feedback.
All reactions