GtkCellRenderer cell-background vs. background

2004-04-20 Thread Skip Montanaro

(I tried searching the GTK FAQ before posting but it's empty.  Googling
didn't turn up anything useful either.)

I see a cell-background property in GtkCellRenderer and a background
property in its GtkCellRendererText subclass.  What's the distinction?

Thanks,

-- 
Skip Montanaro
Got gigs? http://www.musi-cal.com/submit.html
Got spam? http://www.spambayes.org/
[EMAIL PROTECTED]
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


cell-background

2002-05-29 Thread Bernd Demian

Hi all,
I have read in changelog new property for gtk_view to draw one row in a
spcial color. I have installed 2.0.3, but I get the message  

GLib-GObject-WARNING **: gobject.c:1001:g_object_set_property(): object
class `GtkCellRendererText' has no property named `cell-background'.

What must I do?
Bernd

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: cell-background

2002-05-29 Thread Sven Neumann

Hi,

Bernd Demian [EMAIL PROTECTED] writes:

 I have read in changelog new property for gtk_view to draw one row in a
 spcial color. I have installed 2.0.3, but I get the message  
 
 GLib-GObject-WARNING **: gobject.c:1001:g_object_set_property(): object
 class `GtkCellRendererText' has no property named `cell-background'.

I might be wrong, but you probably read the ChangeLog of GTK+ HEAD were
development continues towards GTK+-2.2.


Salut, Sven
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: GtkTable cell background color

2001-11-03 Thread Brian Smith

On Fri, 02 Nov 2001 22:28:03 -0500, Paul Davis wrote:

In message [EMAIL PROTECTED]you write:
Is it possible to set the cell background color of a GtkTable?  Or 
does it just overlay whatever it's on top of.  I have a table in a 
notebook and would like to have the cells different colors, but I have 
not been able to think of a good way to do it.  

put event boxes into every cell, and add your other widget(s) to the
event boxes. then control the style of the evboxes.

That worked beautifully! Thank you very much!

Brian Smith



___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



GtkTable cell background color

2001-11-02 Thread Brian Smith

Is it possible to set the cell background color of a GtkTable?  Or 
does it just overlay whatever it's on top of.  I have a table in a 
notebook and would like to have the cells different colors, but I have 
not been able to think of a good way to do it.  

Thanks in advance!

Brian Smith


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: GtkTable cell background color

2001-11-02 Thread Paul Davis

In message [EMAIL PROTECTED]you write:
Is it possible to set the cell background color of a GtkTable?  Or 
does it just overlay whatever it's on top of.  I have a table in a 
notebook and would like to have the cells different colors, but I have 
not been able to think of a good way to do it.  

put event boxes into every cell, and add your other widget(s) to the
event boxes. then control the style of the evboxes.

--p
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list