Re: Clear a text combo box
- From: Christian Neumair <chris gnome-de org>
- To: Juan Pablo <jpdborgna yahoo com ar>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Clear a text combo box
- Date: Fri, 06 Jan 2006 14:09:31 +0100
Am Donnerstag, den 05.01.2006, 16:34 -0300 schrieb Juan Pablo:
What is the way for removing all items in a combo box?
If it is iterating gtk_combo_box_remove, how do i get the number of
items it has?
You'll have to peek the combo box model data. You can fetch the model
using gtk_combo_box_get_model and either use gtk_list_store_clear, or
gtk_tree_model_iter_n_children and gtk_combo_box_remove_text.
--
Christian Neumair <chris gnome-de org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]