Re: multiple gtk_image



Le 14 May 2002 15:02:21 +0200, Sven Neumann a écrit :

> uh, oh. No, it won't work that way. I don't think a GtkImage is a good
> choice here (I'd use a GtkDrawingArea) but if you really want to use a
> GtkImage, you need to draw to the image you created, not the window of
> the GtkImage widget. These two are different (images are client-side,
> the widget->window is server-side). You also need to take care of
> reference counting (look up gtk_image_new_from_image() in the API
> reference). Overall, I'd say you are using a completely wrong approach.

Thanks a lot, it works much better with a GtkDrawingArea.

Keep the good work guys


--
Jean-Yves Lamoureux
jylam lnxscene org
http://www.lnxscene.org




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