(no subject)
- From: Kees Kling <ckling upcmail nl>
- To: gtkmm-list gnome org
- Subject: (no subject)
- Date: Fri, 05 Nov 2010 16:05:26 +0100
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]