capturing layout content as image
I have put some images 开发者_JAVA百科on GtkLayout, i want to capture the entire content of the GtkLayout as an image. How can i do in gtk.
Regards, iSight
Use gdk_pixbuf_get_from_drawable()
on the GtkLayout
's GdkWindow
. See this explanation of how to do it in PHP-GTK.
精彩评论