Re: compiling pixbufs into an executable
- From: Frank Naumann <fnaumann boerde de>
- To: Bob Caryl <bob fis-cal com>
- Cc: gtkmm-list gnome org
- Subject: Re: compiling pixbufs into an executable
- Date: Wed, 9 Feb 2005 16:56:38 +0100 (CET)
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]