Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ButtonGroup widget #119

Open
rdbende opened this issue Dec 23, 2022 · 0 comments
Open

ButtonGroup widget #119

rdbende opened this issue Dec 23, 2022 · 0 comments
Labels
Area: widgets Widget related stuff enhancement New feature or request good first issue Good for newcomers

Comments

@rdbende
Copy link
Member

rdbende commented Dec 23, 2022

A group of buttons, similar to RadioGroup. The button labels and callbacks could be specified in a dict, like items={"Text": do_something}.

The leftmost button should have the Left.TButton style, the rightmost Right.TButton, and all the others Middle.TButton (similar stuff when the orientation is vertical), this way it's possible to do, that only the outer buttons have round corners. (I think my forest theme has this feature, but it might be only in one of my local branches).

@rdbende rdbende added enhancement New feature or request good first issue Good for newcomers Area: widgets Widget related stuff labels Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: widgets Widget related stuff enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant