Re: overwriting classes
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: gtk-app-devel-list gnome org
- Subject: Re: overwriting classes
- Date: Thu, 17 Jun 2004 15:11:52 +0300
joel krähemann wrote:
Paul, you mean I should copy the functions of parent
classes that I overwrite and save it in my own
object's class?
No, you just store the pointer to the parent class structure,
typically just as static variable, not as a field of your class.
You can have a look at my code for instance:
http://cvs.gna.org/viewcvs/quarry/quarry/src/gui-gtk/gtk-assistant.c?rev=1.3&content-type=text/vnd.viewcvs-markup
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]