How to print the drawing area Widget.(to printer)

2006-04-25 Thread sadhees kumar
Hi Everybody, It will be very helpfull if i find a solution for the following. My application wants to print the picture present in the drawing area widget. Do we have any API's for this?.I would like to know the idea behind this. Thanks in AdvancePlz let me know. Happy working,

Re: How to print the drawing area Widget.(to printer)

2006-04-25 Thread John (J5) Palmieri
Depends. You can use the gnome-print stuff which is being deprecated or you can use the new gtkprintoperation which just got merged to GTK HEAD (we could use some input). If you are using cairo to draw to the drawing area then gtkprintoperation is a perfect fit as the same code you use to draw