How to get a GtkWidget in to pixbuf



Hi Everybody,
 
                       In my GTK application i have a drawing area where i have drawn a graph. The drawing area is declared as GtkWidget, I would like to know how to take this GtkWidget in to a pixbuf.
 
                        In short I would like to know how to take a GtkWidget in to a pixbuf.
 
                       I tried the command gdk_pixbuf_get_from_drawable(), but in vain. It would be very helpfull if anybody suggest me with some example code.
 
                           Thanks in advance.

--
_____________
Regards,

K.Sadheeskumar.


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