Re: [anjuta-list] Load Glade from within an executable



Am 24.12.2014 um 02:34 schrieb Taoman Li:
Hi, all

There is a program, compiled by Anjuta with C, which can convert a Glade file into a c-string, thus it can 
be loaded with gtk_builder_load_from_string() function within an executable. No More Glade.ui file outside.

The main webpage :
 https://sites.google.com/site/firebirdarchitect/Home/other_prgs/gladhide

the download webpage:
https://sites.google.com/site/firebirdarchitect/Home/freedownload

You can also use the GLib resource compiler for that purpose:

https://developer.gnome.org/gio/stable/glib-compile-resources.html
http://blogs.gnome.org/alexl/2012/01/26/resources-in-glib/

This is even more useful when using Composite Widget Templates:

http://blogs.gnome.org/tvb/2013/04/09/announcing-composite-widget-templates/
http://blogs.gnome.org/tvb/2013/05/29/composite-templates-lands-in-vala/

-- 
Mit freundlichen Grüßen
Jens Mühlenhoff

Attachment: signature.asc
Description: OpenPGP digital signature



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