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
{{ message }}
Repository navigation
[ENH]: provide public API for styling radio buttons #24583
after #24455, we lost access to RadioButton circles through the public API. I'm requesting that there be a public way to style the individual radio button circles.
use case: Over at MNE-Python we use a set of RadioButtons in a signal annotation GUI (so users could select e.g. the "blink" or "motion artifact" button and then click-drag across the plot to add a corresponding annotation to that time span). We color-code those annotations so we need a way to access the radio button circles individually, to set the color, edge color, and alpha. We also set the size and linewidth to make the buttons easy to click and the colors easier to distinguish. Here's a screenshot:
Activity
anntzer commentedon Dec 2, 2022
Sure, making buttons public seems reasonable as you have a real use case for that.