Re: suspending signal events



John Taber wrote:

What is the best way to suspend signal events in a combobox while clearing and reloading the combobox? thks.
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

I would just create another discrete model, populate it and then just call ComboBox::set_model to associate the new model with it. Then, clear the old model for re-use in a similar way when you had to repeat the process. Maybe this is naive, but that is what occurs to me. It works with TreeViews.

Bob Caryl



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