GNOME Bugzilla – Bug 150619
libglade-2.0 interface should provide glade_xml_new_from_fd
Last modified: 2004-12-22 21:47:04 UTC
This type of interface could be very useful to programs that might want to do some preprocessing to their glade file before loading. It certainly does not hurt to provide it. GladeXML *glade_xml_new_from_fd( int fd, const char *root, const char *domain); Of course, this would probably require bug #136780 be resolved first, since an interface like this does not provide a filename either. The nice thing about this is it makes it possible to package a glade file with a binary and load it at runtime from the binary. In otherwords it would make it possible to use glade but still only have to distribute a single file.
I'm not sure how a file descriptor interface like this would help you with preprocessing. You can already load XML from a memory buffer, which should do what you want. This just leaves the issue of loading additional files such as images, so I'm marking this bug as duplicate. *** This bug has been marked as a duplicate of 95315 ***