Re: How to get a drawing area widget as a file?.
- From: "Kalle Vahlman" <kalle vahlman gmail com>
- To: "sadhees kumar" <sadheeskumar gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: How to get a drawing area widget as a file?.
- Date: Fri, 28 Apr 2006 16:48:21 +0300
On 4/28/06, sadhees kumar <sadheeskumar gmail com> wrote:
gtk_widget_realize(da_setting_ff);
pixbuf =
gdk_pixbuf_get_from_drawable(NULL,GTK_DRAWABLE(da_setting_ff)->window [...]
That should be GTK_DRAWABLE(GTK_WIDGET(da_setting_ff)->window) probably...
[...]
gdk_pixbuf_save (pixbuf, "/root/handle.bmp", "bmp",NULL, "100", NULL);
"/root/" o_O
--
Kalle Vahlman, zuh iki fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]