How can I impose GdkDrawingArea
on the GtkImage
for painting on an image, for example?
views:
9answers:
1
+1
A:
GtkDrawingArea
and GtkImage
are different classes, so you must choose one of them. You can still draw on GtkImage
(and on any other widget), by connecting to expose_event
signal.
You could also use plain GtkDrawingArea
- displaying image is a matter of calling gdk_draw_pixbuf
function.
el.pescado
2010-06-29 09:02:47