(no subject)



Hi,

I'm trying to construct buttons with just an icon. I thought that next snippet will do, but I only get empty buttons.

iconify = manage ( new Gtk::Button());
Gtk::Image img(Gtk::Stock::REMOVE,Gtk::ICON_SIZE_BUTTON);
iconify->set_image(img);
iconify->set_tooltip_text("minimize window");
pack_start(*iconify,Gtk::PACK_SHRINK);


What is wrong with my code

Thanks

Kees Kling


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