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
I currently run this code every time the GUI is drawn, so if the system theme changes while my app is idle, it doesn't immediately update my app's theme. Is there a way to be notified about changes to a setting's value, other than running this code in a sleep loop?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I currently use the following code in my GUI app to detect the active system theme on Ubuntu:
I currently run this code every time the GUI is drawn, so if the system theme changes while my app is idle, it doesn't immediately update my app's theme. Is there a way to be notified about changes to a setting's value, other than running this code in a sleep loop?
Beta Was this translation helpful? Give feedback.
All reactions