Re: [gtkmm] how to put an image into a button



On Mo, 2004-06-21 at 10:55 +0100, Matthew Walton wrote:

> I'm afraid I can't remember how to pull the icon for a stock object and
> turn it into a Gtk::Image, but I know it's possible because we did
> something similar in the Stock Browser demo (but I wrote that one so
> long ago I can't remember how I did it).

Oh that's easy, there's a Gtk::Image ctor that takes a Gtk::StockID
argument.

--Daniel





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