[Mono-list] Changing window background color

baltasarq baltasarq at gmail.com
Thu Aug 16 12:50:13 UTC 2012


	Hi there!

	I would like to change the background colour of a Gtk.Frame, using this code:

	    var bgColor = new Gdk.Color();
            Gdk.Color.Parse( "#FFFFCC", ref bgColor );
            this.frmAbout.ModifyBg( Gtk.StateType.Normal, bgColor );
            this.frmExport.ModifyBg( Gtk.StateType.Normal, bgColor );

	However, this does not work, the frame seems unaffected. What am I doing wrong?

	Thanks,

-- 
baltasarq <baltasarq at gmail.com>


More information about the Mono-list mailing list