Re: changing a widget's background
- From: Owen Taylor <otaylor redhat com>
- To: "Janet M. Birch" <jbirch entergy com>
- Cc: gtk-list redhat com
- Subject: Re: changing a widget's background
- Date: 05 May 1999 18:29:28 -0400
"Janet M. Birch" <jbirch@entergy.com> writes:
> should this apply to ANY widget ? i tried it (both methods) with my
> labels and i didnt get any color change. what AM i doing wrong.
Labels are "transparent" - they simply draw on top of their
container without a background of their own. So if you want
to change a label's background, you need to change the background
of it's parent. If it doesn't have a convenient parent,
you could add it to a GtkEventBox.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]