Re: problem with libglade



On Thu, 2003-07-10 at 15:26, Joe Smith wrote:
Chas Owens wrote:
Quoting Joe Smith <jes martnet com>:

I'm having trouble getting a glade xml file to load. ...

Are you certain it is a glade-2 xml file?  Could you send a copy to the list?

Well, I'm going to be really embarrassed if it's not.  I already went
through a fit of head scratching when my libglade/C program was
compiling and linking against my old libglade ;-)

Here are the packages I have installed:

libglade-0.17-12.2
libglade-devel-0.17-12.2

glade2-2.0.0-1
libglade2-2.0.1-3
libglade2-devel-2.0.1-3

Here are the header lines from the glade file:

<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd";>

Here's a link if you want to feast your eyes on the whole tamale:

http://pcsb620.tju.edu/~jes/gtemp.glade

It's the glade file that I produced after going through the glade2
tutorial at

http://www.kplug.org/glade_tutorial/glade2_tutorial/glade2_introduction.html

The Glade2-generated C code works fine also.  I haven't been able to
sort through the various bits and pieces to assemble a glade2 that will
generate Perl code.  I was actually hoping to skip that step and just
switch over to loading the XML on the fly from my own code.

Again, sorry this is off-topic.  We can take it off list if needed.

are you doing:

Gnome2->Program->init(paramters, ., .);

i get the same error message as you if i don't do init Gnome2 first,
since it's a Gnome gladexml app.

i get other warning/error message after init'ing, but it seems to run.
one is gconf, another is that GtkToolbar has no property border_width,
and the others are b/c i don't have your about dialog image.

-rm




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