Op 12/13/2016 om 08:03 PM schreef Ondrej Tuma:
> You are near. Application is Mind Map Architect. So I get / use system
> colors by default to set map background, selected / normal nodes etc.


You probably will get what you want with gtk_style_context_get, so
something like below:


GdkRGBA *color;
gtk_style_context_get (GtkStyleContext,  GtkStateFlags,
"background-color", &color, NULL);
<code>
gdk_rgba_free (color);


~infirit


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to