Re: Gdk offscreen windows?



On Thu, 2009-12-03 at 11:34 +0100, Oscar Lazzarino wrote:
> On Thu, Dec 3, 2009 at 11:15 AM, Oscar Lazzarino
> <oscar lazzarino gmail com> wrote:
> > 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().
> 
> Will this patch be included in some future 2.18.3 release or will it
> be kept on-hold for a next major release?

We don't add API to stable releases, so it will be in 2.19/2.20
releases.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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