Re: interface question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

> _MEMBER_GET_GOBJECT(shell, shell, Shell, AnjutaShell*)
> or similar should do this for you.

Thanks, that fits better!

> Maybe you are not calling your hand-coded init() function, which calls
> your generated wrap_init() method, which tells the wrap() system about
> the C++ wrapper types that exist.

Hmm, init() is called before anything else is done and the hand-coded
init of course calls wrap_init(). But still I get the message

 glibmm-WARNING **: failed to wrap type of 'AnjutaApp'

when trying to access get_shell(). AnjutaApp does implement AnjutaShell
so Glib::wrap(AnjutaApp) should normally work.

Thanks,
Johannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFFQkD7Dsf+G5b/WsRAr+qAJ4lwYtfcKZIHSnXALhIkvxFXlx52gCfQiK8
YfIhd0a/hhEvWvuwNFaDBfM=
=YfMy
-----END PGP SIGNATURE-----



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