Skip to content

Is there a way to update a Binding description? #5735

Closed Answered by willmcgugan
leemthai asked this question in Q&A
Discussion options

You must be logged in to vote

It's right in the quote: dynamic actions. https://textual.textualize.io/guide/actions/#dynamic-actions

Define two actions, one for on and one for off, and implement a check_action to define the logic regarding which is displayed.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

You must be logged in to vote
1 reply
@willmcgugan
Comment options

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 #5733 on April 11, 2025 09:32.