Re: Multiple Inheritance?



> 
> 
> On Tue, 7 Mar 2000, Preben Randhol wrote:
> 
> > bighead <bighead@crosswinds.net> wrote on 07/03/2000 (12:32) :
> > > Hi
> > > Do GTK+, and for that matter GNOME, widgets allow for multiple
> > > inheritance?
> > 
> > GTK+ and GNOME is written in C.
> > 
> > 
> > -- 
> > Preben Randhol -- [randhol@pvv.org] -- [http://www.pvv.org/~randhol/]
> >          "Det eneste trygge stedet i verden er inne i en fortelling."
> >                                                       -- Athol Fugard
> > 
> I know its written in C, but I believe it has a strong Object Type
> System. So why not multiple inheritance?

Correct, being C has nothing whatsoever to do with the fact it doesn't have
multiple inheritence.

It is just a design decision, it doesn't have multiple inheritance.
(and i doubt it ever will, the structure in structure inheritance
method used by GtkObject's can't really do it).

 Michael



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