Re: [gtkmm] adding icons to buttons in gtkmm



i am having the hardest time figuring out how to add an icon to a button in gtkmm. i know it can be done, because i can set it up that way in glade, and instantiate it from libglademm.

Hi Tim,

I have implemented some buttons with small bitmaps inside
like:

Gtk::Button m_ButtonAll;
m_ButtonAll.add_pixlabel("your.xpm", "Label");





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