Re: [gtkmm] Gdk::Pixbuf::get_from_drawable()



Am 2003.10.15 08:55 schrieb(en) Klaas Gadeyne:
Hi,

I was looking for the gtkmm equivalent of the gtk function

gdk_pixbuf_get_from_drawable()

If I look at the doxygen docs for the gtkmm Gdk::Drawable class at
<http://www.gtkmm.org/gtkmm2/docs/reference/html/classGdk_1_1Drawable.html>,
and more particular in the docs of the Gdk::Drawable::get_image()
function, the member function Gdk::Pixbuf::get_from_drawable() is
mentioned.

This is a documentation bug. Could you file a bug report at bugzilla.
gnome.org, please?

What you want is the Gdk::Pixbuf::create() overload that takes a const Glib::RefPtr<Drawable>&:

http://www.gtkmm.org/gtkmm2/docs/reference/html/classGdk_1_1Pixbuf.html#e0

Regards,

  Martin



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