Re: [gtkmm] Load Gtk::Stock into a Gdk::Pixbuf?



Am 21.09.2002 15:08 schrieb(en) Daniel:
Hello!

Is it possible to load a Gtk::Stock-icon into a Gdk::Pixbuf in
gtk2/gtkmm2?

Sure!

Gtk::Image my_stock(my_stock_id, Gtk::ICON_SIZE_[whatever_you_want]);
Glib::RefPtr<Gdk::Pixbuf> my_pixbuf = my_stock.get_pixbuf();

Regards,

  Martin



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