Re: [gtkmm] Slots from non-Gtk subclasses.



On Sat, 22 Feb 2003 08:51:11 -0800
rsteinke w-link net wrote:

> > From: Paul Davis <paul linuxaudiosystems com>
> > [...]
> > class Foo : public SigC::Object { ... }
> 
> Actually,
> 
> class Foo : virtual public SigC::Object { ... };
>             ^^^^^^^
> Otherwise, you run into problems with multiple inheritance.
What kind of problems would that be?

> I believe this is mentioned int the SigC docs.
I haven't found it; it is used without 'virtual' in the examples
that come with libsigc++.

Leslie



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