On Thu, 17 Mar 2005 14:21:03 -0700, John Taber <[EMAIL PROTECTED]> wrote:

Actually the problem comes in trying to set the icon later - I declare my
buttons in the header: Gtk::Button myButton; then in the constructor I was
trying to use myButton.set_label(...) but that method only works for a string

you can declare the button in the header and then in the constructor you can do:


m_Button.set_label(Gtk::StockID::StockID(Gtk::Stock::OK).get_string());
m_Button.set_use_stock();

--
Marco
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to