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

theme_previewer changes. #21

Merged
merged 2 commits into from
Jul 11, 2024
Merged

Conversation

RoboPickle
Copy link
Contributor

Overview

Allows the theme_previewer function to return the name of the selected theme.

Issue Fixes:

Fixes: #20

Example usage

See the issue #20 for a more comprehensive example

User can now choose a theme by clicking on the OK button of the previewed theme. The function returns the theme name.

e.g.

new_theme = sg.preview_all_look_and_feel_themes(scrollable=True,columns=8)
if new_theme:
    sg.theme(new_theme)

RoboPickle and others added 2 commits July 1, 2024 11:59
User can now choose a theme by clicking on the OK button of
the previewed theme. The function returns the theme name.

e.g.

    new_theme = sg.preview_all_look_and_feel_themes(scrollable=True,columns=8)
    if new_theme:
        sg.theme(new_theme)
@spyoungtech spyoungtech merged commit 58b987b into spyoungtech:main Jul 11, 2024
1 check passed
@spyoungtech
Copy link
Owner

spyoungtech commented Jul 11, 2024

Thanks for this contribution and for your patience in waiting for my review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion for the theme_previewer to return the selected theme
2 participants