Skip to content
Discussion options

You must be logged in to vote

Hey there, thanks for opening this issue!

(Consider taking a look at this blog post with some suggestions on how to best get help to use Textual :) )

Regarding your questions:

  1. Yes, events ”work from bottom to top” in the sense that an event that is generated somewhere in your DOM hierarchy will bubble up, looking for a widget higher up in the hierarchy that knows how to handle that event.
  2. action_ methods are screen/app methods and Textual will only trigger action_ methods in screens/apps. Of course, you can have a method with a name action_bla_bla in another widget, but that is likely to create confusion because that method action_bla_bla will never be called automatically by Textual.
  3. ap…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by alexveden
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1647 on January 23, 2023 19:53.