[Glade-devel] Feature request: exporting data of glade file content

Daniel King cnkknd+maillist at gmail.com
Tue Apr 8 21:43:06 EDT 2008


I use libglade with my apps. Sometime I don't want user to change the
glade file, so I use "glade_xml_new_from_buffer" to load the xml data
from a char*.
I need to do some modification as below everytime when distributing.

<?....>
<xml ....>
    <..>
</xml>

to

#ifndef XXX_H
#define XXX_H

static const char* xxx_glade =
"<?....>"
"<xml ....>"
"    <..>"
"</xml>";
#endif

It would be very convenient if this function added to glade.


More information about the Glade-devel mailing list