From: Martin DeMello Date: 2005-07-21T18:55:56+09:00 Subject: Re: setting background color on gnomecanvas widget Joe Van Dyk wrote: > Hi, > > How does one set the background color on a gnomecanvas widget? > > http://developer.gnome.org/doc/API/2.0/libgnomecanvas/GnomeCanvas.html > makes reference to a bg_color field, but I don't see that referenced > in the source for ruby-gnome2. (and there's no documentation for > gnomecanvas yet apparently) I recently asked about modifying Gtk widget backgrounds (on the ruby-gnome mailing list) and was pointed towards Widget#modify_bg(state, color) and Widget#modify_base(state, color) for certain widgets (Gtk::Entry, Gtk::TreeView). Not sure if GnomeCanvas supports those but it's worth a try. martin