Re: Table cell colour



On Sat, 21 Feb 2004, Russell Shaw wrote:
I put GtkLabels into the cells of a GtkTable. How do i set the
background colour of individual cells from grey to white?

Setting background colour of GtkLabel doesn't work because
they don't have their own window (faq-6.10).

Is there a simple widget that can just act as a coloured
background for a GtkLabel?
Hi Russell,
you can put the GtkLabel inside a GtkEventBox and set the background
color of the box.

Regards,
                   Peter
-- 
====================================================================
Peter Krüger

applied software solutions (appss) GmbH
Sandtorstr. 23
D-39106 Magdeburg
Germany

Phone:  +49-(0)391-54486-19388
Fax:    +49-(0)391-54486-19222
email:  krueger appss de
URL:    http://www.appss.de

Managing Director: Uwe Hess, Dietmar Schäfer
Register: HRB12386, AG Mageburg

"Virtual business becomes reality!"

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
====================================================================




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]