On 2007-01-25, at 23:14:00 "Arthur Maciel" wrote:

> Hi there again.
>
> How could I clear a combobox, in a way I could add new elements to it?
> Could not find reference for it on the book.
Which combobox? 
In Gtk::ComboBoxText you have
void    clear ()        
void    clear_items () 
methods.

in basic Gtk::ComboBox you will have to clear your TreeModel. For example in
Gtk::ListStore there is a clear() method as expected.

But you don't need to clear it. You can just append to it.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to