[gtkmm] Button question



Hello there !

I need to create a button containing an stock image (built in GTK), like Gtk::Stock::CANCEL. If I pass Gtk::Stock::CANCEL to the button's constructor, then the button contains the image AND the text (cancel).
How can I avoid the button to display the text ?

Thanks
Ben






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