Re: compiling pixbufs into an executable



Hello!

One of the things that I used to do in windows was include small images
into the executable as resources to avoid having to make sure all the
little files were included in the distribution.

So far, I have not found anything in the gtkmm world that is analoguous
to this practice.  Is there any way to do this?

Yes, very easy. Just convert your pics into xpm format (static C data; can be done for example with the netpbm package). Include this in your source and use the right create_from_xpm_data() constructor.


Regards,
Frank



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]