Using libglade with an XML buffer



I am working on a project where I am embedding resources into ELF binaries and then retrieving them at runtime (http://brainstorm.ubuntu.com/idea/5744/).  One of the more interesting things I am embedding into the the binary is the .glade XML file.  When I retrieve the .glade file from the binary I then call glade_xml_new_from_buffer() to create a GUI, so this provides for a completely self contained ELF binary.  Unfortunately, when I attempted to add additional resources (such as a bitmap for a GtkImage widget) libglade tries to use gdk_pixbuf_new_from_file() with a NULL filename.  I took a look at the source code for libglade and saw no coded way to overcome this issue.  Is there some way to overcome this problem that I am just not seeing?  If I were to make a patch to load resources from a callback function who would I contact to get it considered for inclusion?  Thanks in advance.

Erich Hoover
ehoover mines edu

P.S. If this is the wrong place for this issue then I apologize, libglade does not appear to have a specific home.


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