Draw a GtkWidget to a Pixmap?



Hi,
 
Is there a way to draw a GtkWidget not to a Window, but to an offline
Pixmap?
 
One way is to take a snapshot of the screen and then do XCreatePixmap
and XCopyArea, but in my case, the widget is NOT shown on the screen at
all.
 
Any inputs would be highly helpful.
 
Thanks,
-Gaurav



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