Re: Changing the background color of a Label
- From: "Jean-Christophe Berthon" <jean-christophe berthon cgey com>
- To: "Gtk List" <gtk-list gnome org>
- Subject: Re: Changing the background color of a Label
- Date: Tue, 27 Nov 2001 13:08:40 +0100
Thank you very much :-)))
it did work!
Great thanks :-)
Best regards,
---
Jean-Christophe Berthon
----- Original Message -----
From: "Skip Montanaro" <skip pobox com>
To: "Jean-Christophe Berthon" <jberthon capgemini fr>
Cc: "Gtk List" <gtk-list gnome org>
Sent: Tuesday, November 27, 2001 12:53 PM
Subject: Re: Changing the background color of a Label
> (gtk-devel-list removed from the cc list.)
>
> > I'm imagining simply a label with a background color (usually Grey)
> > and a foreground color (the color of the writing usually black). But
I
> > want to change this! I've managed to change the foreground color to
> > white but didn't manage to change the background to green ...
>
> GtkLabels are no-window widgets, so they take on the background of their
> container. To get your labels to have different backgrounds, add them to
> GtkEventBox widgets and change the background color of them.
>
> --
> Skip Montanaro (skip pobox com - http://www.mojam.com/)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]