You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RadioSet has worked well so far, and now it's time to extend it somewhat so it plays with the other widgets more like it's a "standalone" widget rather than a container of widgets.
The text was updated successfully, but these errors were encountered:
With this commit a RadioSet becomes something you can tab into and out of
with just one keypress; navigation of the buttons within moves to being done
with the cursor keys instead.
See Textualize#2368.
davep
added a commit
to davep/textual
that referenced
this issue
Apr 25, 2023
Initially we went with a RadioSet being a simple container of RadioButtons,
with the user navigating the RadioButtons like you would any other set of
widgets. This was fine but it became pretty clear pretty quickly that having
to tab through a non-trivial collection of buttons in a set to get to the
next widget wasn't ideal.
This commit, satisfying Textualize#2368, takes over the navigation of the buttons
within the container, makes the container itself a focusable widget, and
sets up some new bindings to allow a more natural and efficient interaction
with the set.
The
RadioSet
has worked well so far, and now it's time to extend it somewhat so it plays with the other widgets more like it's a "standalone" widget rather than a container of widgets.The text was updated successfully, but these errors were encountered: