Thank you Bastien!! It worked! On Sun, Jun 19, 2011 at 1:27 PM, Bastien Durel <[email protected]> wrote:
> Le dimanche 19 juin 2011 à 12:36 -0400, Phong Cao a écrit : > > > BTW, does anyone know how to create a Gtk::Button that contains Stock > > image. In other words, do you know how to create a GtkStockButton > > without label? > > > This should work : > > > Gtk::Window w; > Gtk::Button b; > b.property_image() = > new Gtk::Image(Gtk::Stock::CLOSE, Gtk::ICON_SIZE_BUTTON); > w.add(b); > b.show(); > Gtk::Main::run(w); > > > -- > Bastien Durel <[email protected]> > >
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
