[MonoDevelop] Error compiling MONO with Glade
Paulo Aboim Pinto
esqueleto@tusofona.com
Sun, 04 Apr 2004 04:19:37 +0100
--=-k2jZZF2wWWDg8ama37ja
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
(<unknown>:5027): libglade-WARNING **: Expected <glade-interface>. Got
<GTK-Int erface>.
Hello
I'm new using Mono, and i'm trying to create a form in GLADE and use in
Mono.
I've use the Mono Documentation, Part 6 - Chapter 18 - Glade# Example
and when i compile the source, i get the error.
=20
(<unknown>:5027): libglade-WARNING **: did not finish in PARSER_FINISH
state
=20
(<unknown>:5027): libglade-CRITICAL **: file glade-xml.c: line 509
(glade_xml_ge t_widget): assertion `self !=3D NULL' failed
=20
(<unknown>:5027): libglade-CRITICAL **: file glade-xml.c: line 432
(glade_xml_si gnal_autoconnect_full): assertion `self !=3D NULL' failed
=20
Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in <0x0006f> GladeSamples.GladeTest:.ctor (string[])
in <0x00024> GladeSamples.GladeTest:Main (string[])
why is this ???? i have libglade0-0.17-9mdk installed.
Another dought is when i use the call
Glade.XML gxml =3D new Glade.XML
("/home/esqueleto/MonoDevelopProjects/GnomeProject/project1.glade",
"window1", null);
why i have to put all the PATH to .glade file ??? This file is in the
same directory of the Mono Project Source. Where i have to put this file
???
I have try to put in bin/Debug and the result is
(<unknown>:5079): libglade-WARNING **: could not find glade file
'project1.glade'
=20
any one can help me ???
There is any other better GUI Designer, where i can get good examples to
use this (or another) GUI Designer?????
=20
tkx in advance
--=20
Paulo Aboim Pinto
Odivelas - Portugal
--=-k2jZZF2wWWDg8ama37ja
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBAb37IR5pQJCqilfURAqyKAJ9dZZeUqzgdEJRdvJosng9yauluoACgnu2T
pJQxJqPg/hIFY3A/PTzLC44=
=mJTP
-----END PGP SIGNATURE-----
--=-k2jZZF2wWWDg8ama37ja--