开发者

how I can add Image.png to my project in NetBeans using GTK+?

for now I'm loading images using gtk_image_new_from_file() function, but I want my images to be embedded 开发者_运维问答in my app.


You might want to look at gdk-pixbuf-csource which can convert images into C code allowing you to inline them in the binary. The documentation at http://developer.gnome.org/gdk-pixbuf/2.23/gdk-pixbuf-Inline-data.html explains it in more detail

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜