On Tue, 2008-06-17 at 08:39 +0200, Murray Cumming wrote: > On Mon, 2008-06-16 at 16:19 -0400, Jamiil wrote: > > I have combo boxes and entry boxes that I want to clear up when the user > > clicks on the 'Clear' button. I looked into the Gtk::ComboBox widget, > > but I am unable to find the right method. > > Any body? > > You can call set_active() with -1, as in the C API: > http://library.gnome.org/devel/gtk/unstable/GtkComboBox.html#gtk-combo-box-set-active > > I think we need to add a unset_active() method to make that clearer.
Ah, we already have one: http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1ComboBox.html#907b4d3c442371348b5162aa518d0814 -- [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list