how to obtain gtk+ background color lazarus / 13-General ---------------------------------------------------------------------- mmab · 2010-06-21 12:21 The  background color is defined in gtkrc files. Somehow, the form is not getting rendered and not having the look of the theme. I thought of painting the form using onpaint event. However, I need to know the form background color. I know I can extract it from the gtkrc file but there should be a way to obtain using gtk2 unit such as gtk2.bg_color_set( ... ); any ideas?