[gtkmm] (no subject)



How do I put image into ButtonElem of Toolbar

I tried something like that:

Gtk::Image *const image = new Gtk::Image("file_name");
.
.
.
m_Toolbar.tool().push_back( ButtonElem("string", image, SigC::slot(*this, &m_Window::on_menu_option3), "string") );

I think I don't understand how to put the image into some kind of widget.
Can you help me?

thanks,
Greg

_________________________________________________________________
Fretting that your Hotmail account may expire because you forgot to sign in enough? Get Hotmail Extra Storage today! http://join.msn.com/?PAGE=features/es




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