-
-
Save AnderRasoVazquez/9b5c26405f3f268504f3 to your computer and use it in GitHub Desktop.
[How to set dark theme for a GTK+ application using Python] #python #gtk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gi.repository import Gtk | |
settings = Gtk.Settings.get_default() | |
settings.set_property("gtk-application-prefer-dark-theme", True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment