RE: Inheritance (Was:Non-technical Glib advise needed)



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]