> Hello,
>        In combobox, is it possible to  remove all the text in it? I am using 
> gtk_combo_box_new_text() and gtk_combo_box_append_text() to add the text in 
> it.. And later i need to empty all its contents.... 
>  Also can i get the number of text entries in the combobox?
>  If yes.. how can this be done?
>  
>  Thanking You
>  Sandy


I think you can increment count of text entry when add it to combobox
and than to remove item use:

for (i = 0; i < entries_count; i++)
        gtk_combo_box_remove_text (combobox, i); //or i+1 i don't know

Sorry for my bad english
-- 
Dubravin Andrey <[EMAIL PROTECTED]>

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to