Closed philip-peterson closed 1 month ago
As this is a general GTK question not directly related to the bindings, you'll probably have more luck at https://discourse.gnome.org
See https://github.com/greatscottgadgets/packetry/pull/166 for an example of doing this without libadwaita.
You can use https://docs.rs/ashpd/latest/ashpd/desktop/settings/struct.Settings.html#method.receive_color_scheme_changed as well.
Closing as it is not really an issue on the bindings side.
I went looking for information on dark mode. It seems like it is normally supported by GTK4 apps through libadwaita. The way to access this through Rust may be libadwaita's
StyleManager::is_dark
.https://docs.rs/libadwaita/latest/libadwaita/struct.StyleManager.html#method.is_dark