Re: interface question

On Sat, 2006-09-23 at 12:14 +0200, Johannes Schmid wrote:
> 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().

And does that definitely register the AnjutaApp and AnjutaShell types?

>  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.

I'm afraid you might have to investigate what's happening in the
wrap_auto system.

Murray Cumming
murrayc murrayc com

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