Re: Gdk offscreen windows?



On Thu, Dec 3, 2009 at 10:33 AM, Murray Cumming <murrayc murrayc com> wrote:
>
> Sorry for missing them. I have just added them to git master:
> http://git.gnome.org/cgit/gtkmm/commit/?id=f63da146d99e26f9cc84202a3c1b38685f447488
>
> In the meantime, this hack should help you with gtkmm 2.18:
>
> GdkPixmap* gdkwindow =
>  gdk_offscreen_window_get_pixmap(
>    cppgdkwindow->gobj());
> Glib::RefPtr<Gdk::Pixmap> pixmap =
>  Glib::wrap((GdkPixmapObject*)gdkwindow);
> if(pixmap)
>  pixmap->reference().

Thank you!

Oscar Lazzarino


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