Search code examples
cgtk

Add background color to gtk_overlay


I am using gtk_overlay_new () to create an overlay in gtk, is there any way i can add some background color to it? so far i have not been successful in finding anything in the documentation.


Solution

  • Use: void gtk_widget_override_background_color(); https://developer.gnome.org/gtk3/unstable/GtkWidget.html#gtk-widget-override-background-color