Minor gotcha: technically, if setting background, foreground should be set too, just in case someone's using a black theme. The colors themselves are matter of taste (standard css syntax).
I'm going with gdk_screen_get_default, as at that point gtk has only just been initialized, so there's nothing else I could get access to.
The most simple way to fix that problem I found would be adding in hiro/gtk/application.cpp in the
#elif HIRO_GTK==3
block something like:Minor gotcha: technically, if setting background, foreground should be set too, just in case someone's using a black theme. The colors themselves are matter of taste (standard css syntax). I'm going with
gdk_screen_get_default
, as at that point gtk has only just been initialized, so there's nothing else I could get access to.