[MonoDevelop] EventBox problem

blueeagle2 at gmail.com blueeagle2 at gmail.com
Fri Sep 27 04:53:20 UTC 2013


On my MainWindow I have a VBox and then in the 2nd row I have a two column
HBox.  Now I put an EventBox in the first column of the HBox and then use
this code to change the background color to black.

eventbox2.ModifyBg(StateType.Normal, new Gdk.Color(0,0,0));

But instead of just turning the one section of the HBox to black, it turns
the entire row to black.  I am really new to Monodevelop and I have yet to
find any good tutorial on this sort of thing.  I was wondering if anyone
knows what I am doing wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20130926/ec48fb52/attachment.html>


More information about the Monodevelop-list mailing list