Re: libgoocanvasmm



> I don't include Glib::Object, it complains about not being able to use
> gobject_
>
> class Ellipse : public GooCanvas::ItemSimple
> {
>
> _CLASS_GOBJECT(Ellipse,GooCanvasEllipse,GOO_CANVAS_ELLIPSE,Glib::Object,GObject)
>         _IMPLEMENTS_INTERFACE(Item)

I don't know if this is the problem, but if you are using
IMPLEMENTS_INTERFACE then you need to also specify the extra base class.
For instance, see GtkListStore:

http://cvs.gnome.org/viewcvs/gtkmm/gtk/src/liststore.hg?view=markup

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]