[Grok-dev] How to create an interface providing another interface
janwijbrand at gmail.com
Thu Feb 5 02:54:26 EST 2009
On Wed, Feb 4, 2009 at 8:16 PM, Lennart Regebro <regebro at gmail.com> wrote:
> On Wed, Feb 4, 2009 at 19:02, <simon.elbaz at free.fr> wrote:
>> I try to create an interface providing another interface.
> I have no idea what that would mean. How does an interface provide an
> interface? What's the usecase?
This is done in some places in Zope, for example where a layer (being
an Interface really) is registered as a skin by making this interface
*provide* IBrowserSkinType. Grok does that here for example::
In other words, I do not know of a way other than via provideInterface.
More information about the Grok-dev