Re: GtKCelrendererToggle and background color

From: Date: Tue, 03 Oct 2006 07:14:19 +0000
Subject: Re: GtKCelrendererToggle and background color
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7304@lists.php.net to get a copy of this message
Ron Tarrant schrieb:
Sven Siwek wrote:
I have a little question. Why is it not possible to set the background for that renderer? Warning: Class 'GtkCellRendererToggle' does not support property 'background'
Try this: $radioRenderer->set_property("cell-background", "#d9fbfc"); -Ron T. Hi Ron,
thank you very much. That does work. Wouldnt it be much easier if there would be an internal alias from background to cell-background? Most renderes use background.... I only want to set the background and I dont want to remember ahh that is a xxxxrenderer so I have to set cell-background instead of background. My English is not so good, so please be lenient with me.... ;) Sven

« previous php.gtk.general (#7304) next »