[Glade-users] Can I hide the .xml file?
- From: john at jcoppens.com (John Coppens)
- Subject: [Glade-users] Can I hide the .xml file?
- Date: Wed, 11 Feb 2009 18:35:04 -0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]