Re: gtk



On Fri, Aug 21, 2009 at 12:23, Shivaprasad
P<Shivaprasad Angadi toshiba-tesi com> wrote:
>> Hi,
>
>>
>
>>
>
>>
>
>> Can we copy entrire gnome canvas content(some area of which is embedded in
>> scroll window) into a jpeg file?

What about gtk_widget_get_snapshot?

http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-get-snapshot

Then get a pixbuf from the pixmap and save to disk as jpeg.

HTH,

Tomeu


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