On Tue, Oct 28, 2003 at 11:25:42PM +1000, Peter Hunt wrote:
> I was wondering how to go about using pixbufs in a java-glade project
> when all my resources are jarred up. I seem to be able to access the
> ".glade" file fine from inside the ".jar" but haven't had any luck with
> the image files referenced by the '.glade'.
>
> Would appreciate if someone could point me in the right direction or
> tell me why it is impossible.
libglade doesn't know about jar files - it was written for c, where
files would normally be placed somewhere like $prefix/share/app/pixmaps.
If this is not an option (i.e. you really want the images to go in the
jar file), perhaps you could extract the images to a temporary location
when the application starts and have glade refer to these images.
--
.''`. Mark Howard
: :' :
`. `' http://www.tildemh.com
`- mh...@de... | mh...@ti... | mh...@ca...
|