Re: [Java-gnome-developer] overrideBackground method on Buttons
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2012-07-28 07:23:52
|
On Fri, 2012-07-27 at 20:39 +0100, Nate Donmez wrote: > I am trying to make my button green. Can someone please tell me what > am I doing wrong ? Nothing, so far as I can tell. I ran your code, and tried * adding the overrideBackground() call to the parent Window [worked to set the background outside the Button, but didn't change the button background] and * extracting the Button's child Label and setting the background there [did not work]. * I even tried adding an EventBox in between the Label and the Button [that didn't work either]. Not sure why it isn't doing what you think it should; I would have expected it to. I'm sorta guessing that it is a themeing issue, but why would button's drawing logic be so hard wired like this? like I said, I should have thought it would work. At this point I'd suggest coming to #java-gnome and then we can go to #gtk+ together and see if we can find someone who knows what's up. Or feel free to send an email to gtk-list directly if you like. AfC Sydney |