Skip to content

Instantly share code, notes, and snippets.

@AnderRasoVazquez
Forked from sergejx/gist:2358089
Last active October 3, 2018 14:53
Show Gist options
  • Save AnderRasoVazquez/9b5c26405f3f268504f3 to your computer and use it in GitHub Desktop.
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
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