Re: gtkliststore and gtkcombobox display column
| From: | Christian Weiske | Date: | Thu, 31 Aug 2006 19:42:40 +0000 |
| Subject: | Re: gtkliststore and gtkcombobox display column | ||
| References: | 1 2 3 4 5 6 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7181@lists.php.net to get a copy of this message | ||
James,
> 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
1. You need to add your own renderer at the beginning
2. clear() doesn't clear the model; the store has its own methods for
this. So, clear() removes all renderers.
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc