Skip to content

Focus switching with keyboard? #107

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

You must be logged in to vote

There's no tab focus at the moment, but it is an important feature, because I would like Textual to be keyboard first.

What I was thinking is to have an automatic widget order left to right, top to buttom, while also allowing a tab_order attribute to sort by.

There are a few details nail down before I get there. For instance there needs to be someway for a widget to indicate it has focus. I was thinking of a overlayed border that appears while you are tabbing.

Replies: 2 comments 1 reply

Comment options

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

Answer selected by BillScherer
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
4 participants