Re: libgoocanvasmm

> This ought to be a quick one.
> class GooCanavs::ItemSimple inherits from Glib::Object
> class GooCanvas::Ellipse inherits from GooCanvas::ItemSimple and
> Glib::Object

GooCanvasEllipse just inherits from GooCanvasItemSimple, which in turn
derives from Glib::Object. So you don''t need any multiple inheritance.

However, you do need multiple inhertiance when dealing with "interfaces":
Search for "implements" (such a G_IMPLEMENT_INTERFACE) in the .c files.

Murray Cumming
murrayc murrayc com

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