Re: libgoocanvasmm
- From: "Murray Cumming" <murrayc murrayc com>
- To: "Paul Davis" <pjdavis engineering uiowa edu>
- Cc: Murray Cumming <murrayc murrayc com>, gtkmm-list gnome org
- Subject: Re: libgoocanvasmm
- Date: Wed, 27 Sep 2006 13:53:16 +0200 (CEST)
> This ought to be a quick one.
>
> class GooCanavs::ItemSimple inherits from Glib::Object
>
> class GooCanvas::Ellipse inherits from GooCanvas::ItemSimple and
> Glib::Object
[snip]
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
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]