On Mon, 2009-06-01 at 02:21 -0400, José Alburquerque wrote:
> That's right.  I quickly read the docs, ignoring that the images that
> the Gdk::Pixbuf::create() methods accepts are Gdk::Image and not
> Gtk::Image.  Still, Gtk::Image has get_pixbuf() which should work
> instead of using Gdk::Pixbuf::create().

Then again, getting a Gdk::Pixbuf from a Gtk::Image depends on its
storage type (see:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Image.html#d4e3b782ceebdc884a50dd93ed4c3e2c)
 so using Gtk::Image::get_pixbuf() will work only if it is already using a 
Gdk::Pixbuf internally.

-- 
José Alburquerque

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to