Re: [gtk-list] Re: Interfaces
- From: Bertrand Guiheneuf <Bertrand Guiheneuf inria fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Interfaces
- Date: Fri, 16 Apr 1999 14:19:13 +0200
glaurent@worldnet.fr said:
// > In ObjC, at least, protocols do that for you.
// Precisely. GTK+ is about to have its own implementation of protocols,
// and ObjC has another one... I suppose the right thing to do will
// simply be not to wrap it at all.
I am not sure I understand why.
Objc protocols are roughly abstract declarations of common methods
between objects.
Thus, as long as GTK+ uses interfaces only as declarations object to
reflect non hierarchical similarities, ObjC will be able to wrap them
just perfectly.
ObjC protocols , however, will not be able to wrap Gtk interfaces if they allow
instance variables in their declarations.
Bertrand
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]