Replies: 1 comment
-
|
All of the widgets in your application will, if they are displayed, be in the DOM. From there you can perform queries and interact with them. It's very common in non-trivial applications to have widgets and screens and the app all defined in very different modules; you can see this sort of thing in frogmouth, for example. A good read through the guide to Textual should give you all the grounding you need to get this going; DOM queries, events and messages and reactivity will play a large part in this. As you work through the guide, you'll eventually get to the guide to developing widgets and how to coordinate them. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
For example if I have my file structure like this
But I only want to increase the progress bar when certain things are completed within to_do.py, how can I achieve this? the UI and all it's components are inside main.py and I'm unsure if I'm able to have to_do.py access any of the UI modules to update them (specifically the progress bar). If this sounds confusing it's probably because I'm also confused. If I need to explain better let me know. Thank you for the help.
Beta Was this translation helpful? Give feedback.
All reactions