Date: Thu, 10 Jun 2004 14:02:59 +0100 To: lablgtk at kaba.or.jp Subject: Setting the background color on a label Message-ID: <20040610130259.GA10340 at redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline From: Richard Jones I read the FAQ: http://ometer.com/gtk-colors.html All well and good. So I did: let qlabel = GMisc.label ~text:"Question" ~height:150 ~packing:vbox#pack () in qlabel#misc#modify_bg [`NORMAL, `WHITE]; qlabel#misc#modify_font (Pango.Font.from_string "times 36"); The font size changes fine, but nothing at all happens to the background color, no matter what I try. Help! Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes, trees, string funcs, pool allocator: http://www.annexia.org/freeware/c2lib/