Re: Inbedding Image Data ?



On Thu, 2003-05-15 at 04:21, Peter Moscatt wrote:
I am creating an app using Gnome/Gtk/Anjuta.  This app has a toolbar
with a number of buttons with custom images.

The image is called within the code.  If the XPM file dosen't exist in
the correct location then the image isn't displayed in the button.

Is there a way I can convert the image into data which then I can inbed
into my code ?

You didn't mention if it's gtk1 or gtk2. For gtk2, you should add your
icons in the application's stock icons using GtkIconFactory. Please
refer to the GnomeIconFactory reference documentation for more details.

Regards,
-Naba





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