Buutons, but no icons
- From: Kees Kling <ckling upcmail nl>
- To: gtkmm-list gnome org
- Subject: Buutons, but no icons
- Date: Fri, 05 Nov 2010 16:08:33 +0100
Hi,
This is my second mail, because it went out without subject.
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]