开发者

capturing layout content as image

开发者 https://www.devze.com 2023-03-01 08:27 出处:网络
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.

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.

0

精彩评论

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