Re: Gnome::Glade::Xml::create_from_buffer question



On Wed, 2006-01-18 at 09:35 -0600, Bob Caryl wrote:
> Hi guys,
> 
> I am using Glade version 2.10.0 and libglademm-2.4 (2.6.1).  Because I 
> do not want my application to be dependent on loading anything at run 
> time, I decided to use Gnome::Glade::Xml::create_from_buffer

By the way, that probably doesn't work very well right now. It needs
this patch (it needs the libglade maintainer to look at the dependent
libglade patch.):
http://bugzilla.gnome.org/show_bug.cgi?id=326512

>  in order to 
> bring my UI into my application.  This question is probably off topic, 
> but I cannot seem to figure out how to make glade output anything that 
> can be included in my application (like a ".h" file) that can be used in 
> conjunction with the aforementioned creation routine.

> If I'm off topic, the please give me a hint as to which list I need to 
> consult.
> 
> Btw, I wrote my own little helper application that reads the ".glade" 
> file and creates a ".h" file with this format:
> 
> const char *<desired pointer name> = "
> // all xml code content from glade in here with newlines and beginning 
> line whitespace stripped out,
> // and with all double quotes converted to single quotes
> ";
> 
> The reason I want to use the native "Glade way" to do this is that I do 
> not want other programmers in my organization to have to use my 
> conversion application if possible.

That feature is not in Glade. You might request it on the glade mailing
list.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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