Re: GdkPixbuf query
- From: Havoc Pennington <hp redhat com>
- To: "Amitava Guha" <amitava_guha netkracker com>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: GdkPixbuf query
- Date: 07 Jun 2001 11:26:02 -0400
Hi,
Questions about using GTK should go to gtk-list, not gtk-devel-list.
This list is for developing GTK itself.
"Amitava Guha" <amitava_guha netkracker com> writes:
> Is it valid to pass the GtkDrawingArea as a drwabale to the
> gdk_pixbuf_render_to_drawable function?
No, it's a type error.
> gdk_pixbuf_render_to_drawable(pic,
> (GdkDrawable*)widget,
If the compiler complains about types, it's probably not right to
insert a cast - instead you need to pass in an object of the right
type.
In this case, use widget->window.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]