RE: Inheritance (Was:Non-technical Glib advise needed)
- From: Murray Cumming Comneon com
- To: nix go-nix ca, gtk-app-devel-list gnome org
- Subject: RE: Inheritance (Was:Non-technical Glib advise needed)
- Date: Mon, 12 Jan 2004 17:56:41 +0100
On Sun, 2004-01-11 at 15:09, John (J5) Palmieri wrote:
[...]
GObjects supports inheritence so it might be a good
solution to your
dependecy graph.
But only inheritance of the creation and destruction methods,
right ? There's no way to do polymorphism though, right ?
Yes, but you need to implement the virtual function table yourself. See
GtkCellRenderer for instance.
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]