开发者

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

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

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

精彩评论

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

关注公众号