Re: Drawing a widget to offscreen

2007-10-12 Thread Emmanuele Bassi
On Fri, 2007-10-12 at 14:38 +0300, Alberto Mardegan wrote: > How can I achieve this? you can't. the support for offscreen rendering is still an experimental patch in bugzilla. what you can do is offload the list model population inside a thread and cache as much as you can to avoid per-row compu

Drawing a widget to offscreen

2007-10-12 Thread Alberto Mardegan
Hi all, I have a GtkTreeView associated to a model that doesn't change very often, but whose rendering might be computationally expensive. For this reason, I'd like to render the GtkTreeView to an offscreen pixmap (in its full size, no cropping), and then show this pixmap in a scrolled window