> Hm, maybe unset_icon() method was added in later version. > Then try doing it in sort of C way with C++ method: > > set_icon_from_pixbuf(Glib::RefPtr<Gdk::Pixbuf>(), Gtk::ENTRY_ICON_SECONDARY); > > Glib::RefPtr<Gdk::Pixbuf>() is an empty refptr, which is a glibmm's > NULL pointer, so it should unset an icon.
> Sorry, yes that seems to be in the (unstable) gtkmm 3 only. It's not in > gtkmm-2.24 (the latest and probably last of the 2.x series). > However, you can work around it by doing this: > gtk_entry_set_icon_from_stock(entry.gobj(), 0); Thanks very much to both of you for your help :) -- Andrew _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
