Sorry, meant to send this to the list, too. ---------- Forwarded message ---------- From: Mark A. Nicolosi <[EMAIL PROTECTED]> Date: Sun, Aug 3, 2008 at 1:27 PM Subject: Re: [Gtk-sharp-list] Change background of widget using theme colors To: Christian Hoff <[EMAIL PROTECTED]>
On Sun, Aug 3, 2008 at 11:43 AM, Christian Hoff <[EMAIL PROTECTED]>wrote: > Sorry, I didn't think enough when I was writing... If it really is against > the rules, you should be able to connect to the StyleSet event using the > GLib.ConnectBefore attribute and modify the background there. But I think it > should work since the style should have been set after you invoked > base.OnStyleSet Thanks Christian, I didn't think of connecting to the signal using GLib.ConnectBefore. I'll give that a try. I'm not too hopeful because when I overrode OnStyleSet, I tried calling the the base method before and after calling ModifyBg() with no luck. -- Mark A. Nicolosi
_______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list