[Glade-users] Can I hide the .xml file?
John Coppens
john at jcoppens.com
Wed Feb 11 15:35:04 EST 2009
On Wed, 11 Feb 2009 14:24:22 -0500
Tristan Van Berkom <tvb at gnome.org> wrote:
> > Ideally, the xml could be in an include file. That way, it could
> > just be compiled into the program.
> >
>
> Sure, use a const gchar * buffer and add it with
> gtk_builder_add_from_string().
>
> Juan might have a script lying around, but it should be easy for you to
> convert a Glade file into a const char buffer to include statically in
> your code using a sed script or even just a little bash...
I noticed this script on the 'net:
http://mail.gnome.org/archives/gtkmm-list/2006-June/msg00305.html
John
More information about the Glade-users
mailing list