Re: gtkliststore and gtkcombobox display column

From: Date: Thu, 31 Aug 2006 18:56:49 +0000
Subject: Re: gtkliststore and gtkcombobox display column
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7179@lists.php.net to get a copy of this message
Hi James,
it works!... I've found something... when i call gtkcombobox->clear() before i append the text.. the combo will be reseted to empty box once again.. with list of blanks item i think the renderer gets removed off when called clear..
What happens if you try to destroy the renderer after calling clear()?
Nevermind, I found it now - yes it does remove them. Does clear_attributes() do the job any better? - I haven't tested this, in GTK+ you need to pass it the cell renderer as a parameter (it's the opposite of set_attributes()).
- Steph


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