Re: insert .xpm format image into application



Simon Chan wrote:

Dear,

I am the beginner of GTK and I want to insert or add one .xpm image into
application.
Anyone knows how to add or insert?? Would you mind to give me a bit
source code to teach me how to insert??

You can look at "wheelbarrow" example, coming with gtk+-1.2 and gtk+-2.0 source.
There's *WheelBarrowFull_xpm* xpm inserted into the source. You can also use
*#include* pp directive to insert xpm from separate file.

Olexiy





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