Re: [gtkmm] Label background color
- From: wdewey1 comcast net
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] Label background color
- Date: Mon, 22 Dec 2003 05:05:14 +0000
> wdewey1 comcast net writes:
>
> > I have these two pieces of code. They change the font color
> > properly, but the background color does not change. I don't
> > understand why. Can anyone help me with this?
>
> That's because some widgets (e.g. labels and tables) don't have their
> own drawing window. So they don't own their background. Or something
> like that - I've never quite understood X programming.
>
> Just put the widget inside an Gtk::EventBox and it should work.
>
I had to change the background color on the Event box, but it worked great. Thanks!!
Bill Dewey
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]