Re: GtkComboBox



Title: Re: GtkComboBox
Hello richard,

Wednesday, April 27, 2011, 1:11:32 PM, you wrote:


well, i guess i wonder how it's possible to fill in the combo box with entries, while not being able to count them at the same time.


When you pass the combo box to some extensions doing the fill in this can be problem.
Yes i know - pathetic argument - but the API should have a call for it.

I run into the same problems when writing a cross-toolkit portability layer.

By the way, one way might be taking the tree model and calling the n_children method

gtk_tree_model_iter_n_children(GTK_TREE_MODEL(gtk_combo_box_get_model(combo_box)),NULL);


-- 
Best regards,
 Lothar                            mailto:llothar web de

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]