Re: Gtk::Button set_image()



Caroline Kierstead wrote:
Does anybody know why, if I pass in the same dereferenced pointer to a Gtk::Image to multiple Gtk::Button objects using set_image(), only the image in the most recent one is displayed? I didn't see a note about it in the reference manual, though I may have missed it.

Thanks!

no, you can't.  You can only add a widget to a single container.

--
jonner


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