Skip to content

Theme persistance #6037

Answered by willmcgugan
antoniorodr asked this question in Q&A
Aug 12, 2025 · 1 comments · 9 replies
Discussion options

You must be logged in to vote

Implement a watch method which is called when the theme changes.

i.e. in App:

def watch_theme(self, theme:str):
    self.cfg.set_theme(theme)

No need to call refresh.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@antoniorodr
Comment options

@willmcgugan
Comment options

@antoniorodr
Comment options

@willmcgugan
Comment options

Answer selected by antoniorodr
@antoniorodr
Comment options

@davidfokkema
Comment options

@antoniorodr
Comment options

@willmcgugan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants