Re: [Pyobjc-dev] How to implement a protocol?
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2002-12-01 20:35:13
|
See the Web Services Tool example in the cvs repository -- it implements a toolbar... On Sunday, December 1, 2002, at 01:21 PM, Jiva DeVoe wrote: > I am trying to set up a toolbar for my app. So I am implementing the > delegate methods for that. One of the delegate methods I need to > implement is this: > > - (NSToolbarItem *)toolbar:(NSToolbar *)toolbar > itemForItemIdentifier:(NSString *)itemIdentifier > willBeInsertedIntoToolbar:(BOOL)flag; > > How do I write this as a python method to implement this? Right now, > it's complaining that I haven't implemented all the methods for this. > I suspect this is the one it doesn't like. |