[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dark mode on Windows
From: |
Eli Zaretskii |
Subject: |
Re: Dark mode on Windows |
Date: |
Tue, 26 Oct 2021 15:10:29 +0300 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, salvino@coderedcorp.com,
> emacs-devel@gnu.org
> Date: Tue, 26 Oct 2021 10:04:52 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Btw, what about D-bus: doesn't it already allow us to act upon such
> > events?
>
> D-Bus is useless here, but GtkSettings provides several signals that can
> be used as follows:
>
> GtkSettings *gs = /* get a GtkSettings object */.
> g_signal_connect (G_OBJECT (gs), "notify::gtk-theme-name",
> G_CALLBACK (style_change_cb), userdata);
> g_signal_connect (G_OBJECT (gs),
> "notify::gtk-application-prefer-dark-theme",
> G_CALLBACK (style_change_cb), userdata);
Like I said: this is already available, or can be easily added.
Right?
Re: Dark mode on Windows, Alan Third, 2021/10/25
Re: Dark mode on Windows, Eli Zaretskii, 2021/10/25
- Re: Dark mode on Windows, Stefan Monnier, 2021/10/25
- Re: Dark mode on Windows, Eli Zaretskii, 2021/10/25
- Re: Dark mode on Windows, Michael Albinus, 2021/10/25
- Re: Dark mode on Windows, Po Lu, 2021/10/25
- Re: Dark mode on Windows,
Eli Zaretskii <=
- Re: Dark mode on Windows, Po Lu, 2021/10/26
- Re: Dark mode on Windows, Eli Zaretskii, 2021/10/26
Re: Dark mode on Windows, Óscar Fuentes, 2021/10/25
Re: Dark mode on Windows, Stefan Monnier, 2021/10/25
Re: Dark mode on Windows, Óscar Fuentes, 2021/10/25
Re: Dark mode on Windows, Stefan Monnier, 2021/10/25
Re: Dark mode on Windows, Po Lu, 2021/10/25
Re: Dark mode on Windows, Óscar Fuentes, 2021/10/25
Re: Dark mode on Windows, Po Lu, 2021/10/25
Re: Dark mode on Windows, Eli Zaretskii, 2021/10/26