Re: overwriting classes
- From: "David Necas (Yeti)" <yeti physics muni cz>
- To: joel krähemann <joel2001k yahoo de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: overwriting classes
- Date: Thu, 17 Jun 2004 08:12:11 +0200
On Thu, Jun 17, 2004 at 08:02:48AM +0200, 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?
There's no need to, just call (e.g. for destroy)
GTK_OBJECT_CLASS(parent_class)->destroy(object);
in destroy method of your type, where parent_class you
obtained
parent_class = g_type_class_peek_parent(klass);
in class init function.
Yeti
--
Do not use tab characters. Their effect is not predictable.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]