[Gtk-sharp-list] Status Bar Background

arao6 abhirao1 at gmail.com
Sun Apr 21 21:37:32 UTC 2013

I tried practically everything to change the background color of the status
bar. ModifyBg(), changing the style (Style.SetBgPixmap with an image,
SetBackground, etc.) and even adding an eventbox with a color BG.
The event box works, but when you resize the window, the event box only
partially resizes to fill the window! I have it set to fill and expand. If
someone can tell me how to expand/fill the eventbox over the entire status
bar, that'd be great!
Here is my code:
EventBox evbox = new EventBox();evbox.ModifyBg(StateType.Normal, new
Color(95, 65, 41));statusbar2.PackStart(evbox, true, true, 0); // statusbar2
was added through the Designer, unmodified

View this message in context: http://mono.1490590.n4.nabble.com/Status-Bar-Background-tp4659446.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20130421/0bd55784/attachment.html>

More information about the Gtk-sharp-list mailing list