Skip to content
Discussion options

You must be logged in to vote

Textual has a way to pass a callback into a screen, and have the screen return the result. It's a fairly recent addition which we've been testing out and so it still needs to be documented -- you can see an example in the PR that added the feature.

To see it in action in a real application, see the YesNo dialog in Frogmouth and then see it being used to add a yes/no confirmation around deleting something (in this case a bookmark).

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
Comment options

You must be logged in to vote
1 reply
@davep
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