Can anyone point me to documentation or examples of how to wrap C++
objects with gobject and preserve inheritance? I want to do something
like this:

ClassA
ClassB (inherits from ClassA)

and wrap in gobject like this:

GClassA
GClassB

and I need to be able to cast GClassB back to GClassA. GClassA will
have as a private member a pointer to ClassA, and GClassB will have a
pointer to ClassB. What's the most elegant way to do this?

Thanks,
Matthew
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to