开发者

GdkDrawingArea on GtkImage

How 开发者_如何学Pythoncan I impose GdkDrawingArea on the GtkImage for painting on an image, for example?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜