Re: overwriting classes



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]