Clearing combo box



Hi

I have a combo box that I want to clear it (remove all the items) and
add new items to it (I am using C) here is the code I tried but it
didn't work,

gtk_combo_box_set_model(Combo,NULL);
gtk_combo_box_insert_text (Combo,0, _("All1"));


Anyone can help me please ?

-- 
Best Regards,
--------------------
-*- If Linux doesn't have the solution, you have the wrong problem -*-



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